aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-02-06tinfo.h: Remove apostrophes from C++ comment (xgettext thinks this file is ↵Zack Weinberg7-5/+19
plain C). * cp/tinfo.h: Remove apostrophes from C++ comment (xgettext thinks this file is plain C). * i386/osf1elf.h: Add missing backslash to multiline string. * po/POTFILES.in: Remove stupid.c. * exgettext: s/VPROTO/VPARAMS/ now that we are no longer using VPROTO. From-SVN: r31816
2000-02-05Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>Alan Modra2-0/+21
Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au> * gcc.c-torture/execute/20000205-1.c: New. From-SVN: r31815
2000-02-06* longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.Kaveh R. Ghazi2-12/+16
From-SVN: r31814
2000-02-06gjavah.c (overloaded_jni_method_exists_p): Add prototype.Kaveh R. Ghazi2-2/+9
* gjavah.c (overloaded_jni_method_exists_p): Add prototype. (print_name_for_stub_or_jni, process_file): Constify a char*. From-SVN: r31813
2000-02-06com.c (mark_tracker_head, [...]): Protoize.Kaveh R. Ghazi3-6/+9
* com.c (mark_tracker_head, mark_binding_level): Protoize. * where.c (mark_ffewhere_head): Likewise. From-SVN: r31812
2000-02-06Makefile.in (call.o): Depend on $(EXPR_H).Kaveh R. Ghazi5-1/+14
* Makefile.in (call.o): Depend on $(EXPR_H). * call.c: Include "expr.h". * class.c (dump_class_hierarchy): Add prototype. * search.c (dfs_get_pure_virtuals): Likewise. From-SVN: r31811
2000-02-06Makefile.in (c-common.o): Depend on $(EXPR_H).Kaveh R. Ghazi18-26/+105
* Makefile.in (c-common.o): Depend on $(EXPR_H). * c-common.c: Include expr.h. * c-pragma.c (mark_align_stack): Add prototype. * caller-save.c (add_stored_regs): Likewise. * combine.c (record_promoted_value): Likewise. * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro): Likewise. * cppinit.c (new_pending_define): Likewise. * cpplib.c (skip_block_comment, skip_line_comment): Likewise. * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists, AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc, AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p, class_scope_p): Likewise. * dwarf2out.h (dwarf2out_set_demangle_name_func, dwarf2out_add_library_unit_info): Likewise. * ggc.h (ggc_page_print_statistics): Likewise. * haifa-sched.c (propagate_deps): Likewise. * reg-stack.c (next_flags_user, record_label_references): Likewise. * rtl.h (set_stack_check_libfunc): Likewise. * toplev.h (set_fatal_function): Likewise. * toplev.c (set_fatal_function): Delete prototype. * diagnostic.c: Deconstify functions returning malloc'ed ptrs. From-SVN: r31810
2000-02-06ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.Geoff Keating2-5/+10
* ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX. (FUNC_END): Likewise. From-SVN: r31808
2000-02-05Daily bump.Jeff Law2-2/+2
From-SVN: r31806
2000-02-05caller-save.c: Include tm_p.h.Michael Hayes2-0/+5
2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * caller-save.c: Include tm_p.h. From-SVN: r31805
2000-02-05Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).Michael Hayes2-10/+16
2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2). From-SVN: r31804
2000-02-05Word wrap commentZack Weinberg1-1/+2
From-SVN: r31803
2000-02-05cccp.c (main): Check 'dir' for a NULL pointer before passing it to strcmp.Neil Booth2-1/+6
2000-02-04 Neil Booth <NeilB@earthling.net> * cccp.c (main): Check 'dir' for a NULL pointer before passing it to strcmp. From-SVN: r31802
2000-02-05recog.h: Remove NO_MD_PROTOTYPES ifdefs.Zack Weinberg6-60/+61
* recog.h: Remove NO_MD_PROTOTYPES ifdefs. * genflags.c: Use the max_operand_1 logic from genemit.c to calculate how many arguments gen_insn prototypes have. Remove NO_MD_PROTOTYPES ifdefs from the generated file. * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated file. Cast gen_insn initializers to insn_gen_fn. * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES. * gcc.texi: Remove documentation of NO_MD_PROTOTYPES. From-SVN: r31801
2000-02-05Makefile.in (HDR): Add machname.h.Kaveh R. Ghazi2-2/+7
* fixinc/Makefile.in (HDR): Add machname.h. (clean): Likewise. From-SVN: r31800
2000-02-05c4x.h (c4x_compare_op0, [...]): Move ...Michael Hayes3-14/+19
2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ... (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto. (c4x_cpu_version): Ditto. * config/c4x/c4x-protos.h: ... here. From-SVN: r31799
2000-02-04dwarf2out.c (add_abstract_origin_attribute): Don't call ↵Jason Merrill2-6/+17
gen_abstract_function on our context if we're a nested function. * dwarf2out.c (add_abstract_origin_attribute): Don't call gen_abstract_function on our context if we're a nested function. From-SVN: r31798
2000-02-04c4x.md (fixuns_truncqfqi2): Rewrite.Michael Hayes3-14/+32
2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite. * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix. From-SVN: r31797
2000-02-04genfixes (machname.h): Move the functionality from gen-machine.h into this file.Bruce Korb8-85/+126
2000-02-04 Bruce Korb <bkorb@gnu.org> * fixinc/genfixes(machname.h): Move the functionality from gen-machine.h into this file. UNdef MN_NAME_PAT if there are no names to change. Also, be a little kinder when AutoGen is not present. * fixinc/Makefile.in(machname.h): Change the generation rule to use genfixes. * fixinc/fixfixes.c(machine_name): machine_name_fix's functionality now dependent upon whether MN_NAME_PAT is defined. * fixinc/fixtests.c(machine_name): ditto. * fixinc/fixlib.c(mn_get_regexps): conditional on definition of MN_NAME_PAT. * fixinc/fixlib.h(mn_get_regexps): ditto * fixinc/gen-machine.h: DELETED From-SVN: r31793
2000-02-04i386.c (SAVE_REGS_FIRST): Remove.Jan Hubicka3-144/+123
* i386.c (SAVE_REGS_FIRST): Remove. (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode. (ix86_compute_frame_size): Likewise. (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack. (ix86_emit_restore_regs): Remove. (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack when a frame pointer is in use. (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov instead of pop to restore a register when profitable; emit leave when profitable. (ix86_attr_length_default): Handle pro_epilogue_adjust_stack as a TYPE_LEA insn. (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU. * i386.md (prologue_allocate_stack): Remove. (epilogue_deallocate_stack): Remove. (pro_epilogue_adjust_stack): New. Co-Authored-By: Richard Henderson <rth@cygnus.com> From-SVN: r31792
2000-02-04function.c (diddle_return_value): Rework to use a callback function.Richard Henderson6-74/+103
* function.c (diddle_return_value): Rework to use a callback function. Use current_function_return_rtx if it's been set up. (do_clobber_return_reg, clobber_return_register): New. (do_use_return_reg, use_return_register): New. (expand_function_end): Use them. * stmt.c (expand_null_return): Likewise. * function.h: Declare them. * flow.c (mark_regs_live_at_end): Use diddle_return_value. (mark_reg): Change arguments as appropriate for callback. * integrate.c (expand_inline_function): Revert 19 Jan change. From-SVN: r31791
2000-02-04tm.texi (Values in Registers): Fix typo: "fo" "for".Hans-Peter Nilsson2-6/+10
* tm.texi (Values in Registers): Fix typo: "fo" "for". (Misc): Say the scheduler, not the Haifa scheduler. From-SVN: r31789
2000-02-04jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs when in_mem is ↵Clinton Popetz2-13/+25
set. * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs when in_mem is set. Update all callers. From-SVN: r31787
2000-02-04* i386/openbsd.h (INT_ASM_OP): Define.Richard Henderson2-2/+9
From-SVN: r31786
2000-02-04* tm.texi: Fix various typos.Hans-Peter Nilsson2-11/+14
From-SVN: r31784
2000-02-04Daily bump.Jeff Law2-2/+2
From-SVN: r31783
2000-02-03pa-hpux11.h (LIB_SPEC): Correct typo in !p case.Steve Ellcey2-9/+15
* config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case. (MD_STARTFILE_PREFIX_1): New macro. From-SVN: r31780
2000-02-03* jcf-io.c (jcf_print_utf8_replace): Handle UTF-8 input.Tom Tromey2-5/+13
From-SVN: r31779
2000-02-03javaop.h (WORDS_TO_DOUBLE): Allow WORDS_TO_DOUBLE to assemble doubles ↵Scott Bambrough2-0/+10
correctly when... 2000-01-31 Scott Bambrough <scottb@netwinder.org> * gcc/java/javaop.h (WORDS_TO_DOUBLE): Allow WORDS_TO_DOUBLE to assemble doubles correctly when HOST_FLOAT_WORDS_BIG_ENDIAN is defined to be 1. From-SVN: r31777
2000-02-03Make-lang.in (java.mostlyclean): Remove executables in `mostlyclean'.Tom Tromey2-1/+7
* Make-lang.in (java.mostlyclean): Remove executables in `mostlyclean'. From-SVN: r31776
2000-02-03i386.md (movstrsi, clrstrsi): Support variable sized copies, align ↵Jan Hubicka4-15/+384
destination when needed. * i386.md (movstrsi, clrstrsi): Support variable sized copies, align destination when needed. (strmovsi, strsetsi): New expander. (strmovsi_1, strsetsi_1): New pattern. * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP, TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros. (TARGET_SWITCHES) Add align-stringops and inline-all-stringops. * invoke.texi (align-stringops, inline-all-stringops): Document. From-SVN: r31773
2000-02-03cast3.C: Return void.Nathan Sidwell3-1/+7
* g++.old-deja/g++.jason/cast3.C: Return void. * g++.old-deja/g++.pt/dynarray.C: Don't be pedantic. From-SVN: r31772
2000-02-03Daily bump.Jeff Law2-2/+2
From-SVN: r31769
2000-02-03gjavah.c (D_NAN_MASK): Alternate definition required when ↵Scott Bambrough2-9/+15
HOST_FLOAT_WORDS_BIG_ENDIAN is defined to be 1. 2000-01-31 Scott Bambrough <scottb@netwinder.org> * gcc/java/gjavah.c (D_NAN_MASK): Alternate definition required when HOST_FLOAT_WORDS_BIG_ENDIAN is defined to be 1. (java_float_finite): Convert to use union Word from javaop.h. (java_double_finite): Convert to use union DWord from javaop.h. From-SVN: r31768
2000-02-03gjavah.c (options): Added `jni' entry.Tom Tromey2-107/+397
* gjavah.c (options): Added `jni' entry. (help): Document -jni. (flag_jni): New global. (process_file): Handle JNI output. Don't print text from -prepend, -add, etc, when generating stubs. Only remove `.class' suffix if it actually exists. (main): Create a `.c' file when run with `--jni --stubs'. Create correct output file name with `--jni'. (print_include): Mangle header name differently in JNI case. (HANDLE_METHOD): In JNI mode, call print_method_info to generate method list. (print_method_info): Handle JNI case. Put signature info into method name. Handle case when STREAM is NULL. (print_name_for_stub_or_jni): New function. (print_stub_or_jni): Renamed from `print_stub'. Handle JNI. (print_cxx_classname): Handle JNI. (print_full_cxx_name): Likewise. (decode_signature_piece): Likewise. (overloaded_jni_method_exists_p): New function. (struct method_name): Added `signature' and `sig_length' fields. (HANDLE_END_FIELD): Do nothing in JNI mode. From-SVN: r31767
2000-02-02* i386/netbsd.h (INT_ASM_OP): Define.Krister Walfridsson2-0/+8
From-SVN: r31766
2000-02-02jv-scan.c: Include version.c, <getopt.h>.Tom Tromey4-217/+405
* jv-scan.c: Include version.c, <getopt.h>. (LONG_OPT, OPT_HELP, OPT_VERSION): New macros. (options): New array. (usage): New function. (version): New function. (main): Use getopt_long to parse command line. * jcf-dump.c: Include version.c, <getopt.h>. (LONG_OPT, OPT_classpath, OPT_CLASSPATH, OPT_HELP, OPT_VERSION, OPT_JAVAP): New macros. (options): New array. (usage): Return `void'. Changed message. (help): New function. (version): New function. (main): Use getopt_long_only to parse command line. * gjavah.c: Include <getopt.h>. (LONG_OPT, OPT_classpath, OPT_CLASSPATH, OPT_HELP, OPT_TEMP, OPT_VERSION, OPT_PREPEND, OPT_FRIEND, OPT_ADD, OPT_APPEND, OPT_M, OPT_MM, OPT_MG, OPT_MD, OPT_MMD): New macros. (options): New array. (java_no_argument): Removed. (help): Updated with missing options. (main): Use getopt_long_only to parse command line. (usage): Changed message. From-SVN: r31765
2000-02-02Add -Wunused to dg-optionsZack Weinberg1-1/+1
From-SVN: r31764
2000-02-02cpplib.h (cpp_reader): Add new flag, no_directives.Zack Weinberg5-1/+37
* cpplib.h (cpp_reader): Add new flag, no_directives. * cpphash.c (macarg): Set it. * cpplib.c (handle_directive): If no_directives is on and we find a directive, issue an error and discard the line. From-SVN: r31763
2000-02-02Fix sparc -msoft-float abort while compiling newlib.Jim Wilson2-4/+9
* config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for FP constants. Add ! TARGET_FPU check for FP constants. From-SVN: r31762
2000-02-02flow.c (find_basic_blocks): Don't kill label_value_list here.Clinton Popetz2-3/+9
* flow.c (find_basic_blocks): Don't kill label_value_list here. (cleanup_cfg): Kill it here. From-SVN: r31760
2000-02-02expr.c (store_field): Ensure ALIGN is no stricter than the alignment of EXP.Richard Kenner2-0/+12
* expr.c (store_field): Ensure ALIGN is no stricter than the alignment of EXP. From-SVN: r31759
2000-02-02jump.c (delete_insn): Partially revert 19 Jan change; don't convert unused ↵Richard Henderson2-1/+7
code labels to notes at -O0. * jump.c (delete_insn): Partially revert 19 Jan change; don't convert unused code labels to notes at -O0. From-SVN: r31758
2000-02-02Daily bump.Jeff Law2-2/+2
From-SVN: r31757
2000-02-02toplev.c (rest_of_compilation): Run rebuild_jump_labels after ↵Herman A.J. ten Brugge2-6/+11
split_all_insns to recreate REG_LABEL notes for... * toplev.c (rest_of_compilation): Run rebuild_jump_labels after split_all_insns to recreate REG_LABEL notes for flow2 pass. From-SVN: r31756
2000-02-01i386.c (general_no_elim_operand): New.Richard Henderson5-18/+69
* i386.c (general_no_elim_operand): New. (nonmemory_no_elim_operand): New. (ix86_expand_move): Copy eliminable operands before a push. * i386-protos.h: Declare new functions. * i386.h (CAN_ELIMINATE): Simplify. (PREDICATE_CODES): Update. * i386.md (push insns): Don't allow eliminable register operands. From-SVN: r31755
2000-02-01flow.c (mark_regs_live_at_end): Follow expand_function_end and replace ↵Richard Henderson2-10/+15
BLKmode with DECL_RTL's mode. * flow.c (mark_regs_live_at_end): Follow expand_function_end and replace BLKmode with DECL_RTL's mode. From-SVN: r31754
2000-02-01parse.y (simple_stmt): Allow :: token in asm parameter list.Ulrich Drepper3-2695/+2733
* parse.y (simple_stmt): Allow :: token in asm parameter list. * parse.c: Rebuilt. From-SVN: r31753
2000-02-02argh, forgot to commit changelogZack Weinberg1-0/+41
From-SVN: r31752
2000-02-02* gcc.dg/unused-2.c: Use -Wreturn-type instead of -Wall.Alexandre Oliva2-1/+3
From-SVN: r31751