aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-11-26* makefile.vms: Remove EGCS references.Joseph Myers2-2/+6
From-SVN: r37763
2000-11-26dwarf2out.c (output_file_names): New function.Ulrich Drepper2-54/+331
* dwarf2out.c (output_file_names): New function. Compute minimal combination of directory and file name table and emit them. (output_line_info): Remove code to emit directory and file name table and call output_file_names instead. (file_info_cmp): Helper function to sort directory names. From-SVN: r37762
2000-11-26cpplib.h (struct cpp_reader): Remove lang_asm.Neil Booth9-36/+37
* cpplib.h (struct cpp_reader): Remove lang_asm. (struct cpp_options): Remove c89. New members lang, extended_numbers. * cppexp.c (parse_number): Use them. * cpphash.h (VALID_SIGN): Use them. * cppinit.c (set_lang, cpp_start_read): Update. * cpplex.c (parse_string, _cpp_lex_token): Update. * cpplib.c (_cpp_handle_directive): Update. * cppmacro.c (parse_args): Update. * cppmain.c (scan_buffer): Update. From-SVN: r37761
2000-11-26* g++.old-deja/g++.other/overload12.CNeil Booth1-0/+30
From-SVN: r37760
2000-11-26fold-const.c (fold, [...]): Always return tree of proper type.Richard Kenner2-1/+6
* fold-const.c (fold, case CONVERT_EXPR): Always return tree of proper type. From-SVN: r37757
2000-11-26tests_flags.in: New file.Gabriel Dos Reis2-1/+6
libstdc++-v3: * tests_flags.in: New file. Split out of ... * mkcheck.in: ... this. Move flags computation into tests_flags.in. * configure.in: Add support for tests_flags. * confiigure: Regenerate. gcc/testsuite: * lib/g++.exp (g++_include_flags): Invoke 'tests_flags --compiler' instead of 'mkcheck 2'. From-SVN: r37756
2000-11-26* c-lex.h: Should have been committed.Neil Booth1-0/+3
From-SVN: r37755
2000-11-26Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.Neil Booth15-262/+260
* Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib. * c-decl.c: Remove parse_in declaration. * c-lang.c: Similarly. * c-lex.c: Similarly. * c-parse.in: Similarly. * c-pragma.c: Similarly. * configure.in: Similarly. * cp/Make-lang.in: Similarly. * cp/spew.c: Similarly. * cp/decl2.c: Remove check for lang-c++ option. * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line. * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++. * c-lex.h: Add declaration of parse_in. * cppinit.c: Call set_lang after allocating pfile->pending. * configure: Regenerate. From-SVN: r37754
2000-11-26Daily bump.Jeff Law2-2/+2
From-SVN: r37753
2000-11-26* combine.c (try_combine): Remove redundant test.Zack Weinberg2-16/+17
From-SVN: r37750
2000-11-25c-common.h (DECL_C_HARD_REGISTER): New.Richard Henderson4-4/+17
* c-common.h (DECL_C_HARD_REGISTER): New. * c-decl.c (finish_decl): Set it for asm register variables. * c-semantics.c (emit_local_var): Test it when instantiating one. From-SVN: r37748
2000-11-25c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than lineno for the ↵Richard Henderson2-1/+6
start of the function. * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than lineno for the start of the function. From-SVN: r37747
2000-11-25dwarf2out.c (file_table, [...]): Remove.Richard Henderson2-54/+101
* dwarf2out.c (file_table, file_table_allocated): Remove. (file_table_allocated): Remove. (struct file_table): New. (decl_file_table, line_file_table): New. (print_dwarf_line_table): Use them. (size_of_line_prolog): Likewise. (output_line_info): Likewise. (add_src_coords_attributes): Likewise. (gen_subprogram_die): Likewise. (gen_variable_die): Likewise. (dwarf2out_add_library_unit_info): Likewise. (dwarf2out_line): Likewise. (lookup_filename): Take a struct file_table argument. (init_file_table): New. (dwarf2out_init): Use it. From-SVN: r37746
2000-11-25method.c (build_mangled_C9x_name): Rename to build_mangled_C99_name.Joseph Myers6-7/+19
cp: * method.c (build_mangled_C9x_name): Rename to build_mangled_C99_name. Change C9X references in comments to refer to C99. testsuite: * gcc.c-torture/execute/memcheck/driver.c, gcc.c-torture/execute/memcheck/driver.h, gcc.dg/cpp/if-3.c: Change C9X references to refer to C99. From-SVN: r37745
2000-11-25* invoke.texi: Update sequence points references.Joseph Myers2-1/+9
From-SVN: r37744
2000-11-25c-common.c: Remove USE_CPPLIB conditional inclusions.Neil Booth23-1285/+284
* c-common.c: Remove USE_CPPLIB conditional inclusions. * c-common.h: Similarly. * c-decl.c: Similarly. * c-lang.c: Similarly. * c-lex.c: Similarly. * c-parse.in: Similarly. * c-pragma.c: Similarly. * c-pragma.h: Similarly. * gcc.c: Similarly. * toplev.c: Similarly. * cp/cp-tree.h: Similarly. * cp/decl2.c: Similarly. * cp/lang-specs.h: Similarly. * cp/lex.c: Similarly. * cp/lex.h: Similarly. * cp/spew.c: Similarly. * java/lang-options.h: Similarly. * objc/lang-specs.h: Similarly. * objc/objc-act.c: Similarly. * configure.in: Remove configure option. * config.in: Regenerate. * configure: Regenerate. From-SVN: r37742
2000-11-25haifa-sched.c (sched_analyze_1, [...]): Revert 2000-11-22 change.Richard Henderson2-3/+16
* haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze): Revert 2000-11-22 change. From-SVN: r37741
2000-11-25Allow combinations involving the flag registerBernd Schmidt2-1/+6
From-SVN: r37740
2000-11-25configure.in (ALL_LINGUAS): Remove en_GB and add sv.Philipp Thomas6-4660/+11137
gcc: 2000-11-25 Philipp Thomas <pthomas@suse.de> * configure.in (ALL_LINGUAS): Remove en_GB and add sv. * configure: Rebuilt. po: 2000-11-25 Philipp Thomas <pthomas@suse.de> * sv.po: New swedish translation file. * en_GB.po: Removed. From-SVN: r37739
2000-11-25sparc.md (muldi3_v8plus): Remove H constraint.Jakub Jelinek5-57/+141
* config/sparc/sparc.md (muldi3_v8plus): Remove H constraint. Handle CONST_INT as second argument. * config/sparc/sparc.c (set_extends): Remove first argument. Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and MOV. (sparc_check_64): Abort if first argument is not REG. If it is DImode REG, look at the lower register of the register pair. * config/sparc/sparc.c (load_pic_register, restore_regs, output_return, sparc_v8plus_shift, sparc_function_profiler, sparc_function_block_profiler, sparc_block_profiler): Fix output formatting. * gcc.dg/ultrasp3.c: New test. From-SVN: r37738
2000-11-25* gcc.dg/cpp/include2.c: Make test locale independent.Neil Booth2-2/+8
From-SVN: r37737
2000-11-25Daily bump.Jeff Law2-2/+2
From-SVN: r37735
2000-11-25sh.h (TARGET_NONE): New.Alexandre Oliva2-25/+43
* config/sh/sh.h (TARGET_NONE): New. (TARGET_SWITCHES): For all variant-selecting switch, use TARGET_NONE to reset all other variant-selecting switch. Added empty strings to avoid warnings. (TARGET_DEFAULT): Set to SH1_BIT. From-SVN: r37734
2000-11-25Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for insn-codes.h.Alexandre Oliva2-1/+4
* Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for insn-codes.h. From-SVN: r37733
2000-11-25sh.md (sibcalli, [...]): New insns.Alexandre Oliva2-0/+94
* gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns. (sibcall_pcrel): New insn_and_split. (sibcall, sibcall_value, sibcall_epilogue): New expands. From-SVN: r37732
2000-11-25sh.md (GOTaddr2picreg, [...]): Don't set current_function_uses_pic_offset_table.Alexandre Oliva4-70/+35
* config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg, symPLT_label2reg, call, call_value): Don't set current_function_uses_pic_offset_table. * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs takes it into account. (FINALIZE_PIC): Delete, useless. (LEGITIMATE_CONSTANT_P): Delete, unused. * config/sh/sh.c (sh_expand_prologue): Don't use current_function_uses_pic_offset_table. Don't special-case PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and PIC is enabled. (sh_expand_epilogue, initial_elimination_offset): Don't special case PIC_OFFSET_TABLE_REGNUM. From-SVN: r37731
2000-11-25sh-protos.h (symbol_ref_operand): Declare.Alexandre Oliva6-24/+124
* config/sh/sh-protos.h (symbol_ref_operand): Declare. * config/sh/sh.md (UNSPEC_CALLER): New constant. (calli_pcrel, call_valuei_pcrel): Use PIC_REG. (call_pcrel, call_value_pcrel): New insn_and_splits. (call, call_value): Use them. (call_site): New expand. (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites. * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]: Output call_site label. (PREDICATE_CODES): Added symbol_ref_operand. * config/sh/sh.c (symbol_ref_operand): Define. * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE to CALL_INSNs in the split sequence. From-SVN: r37730
2000-11-25* gcc.c-torture/compile/20001123-2.c: New.Alexandre Oliva2-0/+25
From-SVN: r37729
2000-11-25* g++.old-dega/g++.pt/ttp62.C: Call abort() on failure.Kriang Lerdsuwanakij2-3/+9
From-SVN: r37728
2000-11-25Use target specific, language specific object files feature to allow buildNick Clifton6-243/+345
v850 pragma support into gcc and gxx. From-SVN: r37727
2000-11-25Add support for target specific, language specific object files.Nick Clifton7-249/+315
From-SVN: r37726
2000-11-24* gcc.c (process_command): Use F_OK, not R_OK.Richard Kenner2-1/+5
From-SVN: r37724
2000-11-24* flow.c (print_rtl_and_abort): Remove ANSIism.Arno J. Klaassen2-1/+5
From-SVN: r37722
2000-11-24sh.h (GENERAL_REGISTER_P, [...]): New macros.Alexandre Oliva4-41/+65
* config/sh/sh.h (GENERAL_REGISTER_P, GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P, FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them all over. (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P. * config/sh/sh.c: Use new macros. * config/sh/sh.md: Likewise. From-SVN: r37721
2000-11-24sh.md: Clobber MACH_REG and MACL_REG in SImode, instead of just MACH_REG in ↵Alexandre Oliva2-11/+21
DImode. * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode, instead of just MACH_REG in DImode. Always refer to FPSCR_REG in PSImode. From-SVN: r37720
2000-11-24avr.c (out_tsthi,out_tstsi): Test simplification bug fixed.Denis Chertykov2-18/+18
* config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug fixed. (machine_dependent_reorg): Wrong optimization based on NOTICE_UPDATE_CC removed. From-SVN: r37715
2000-11-24jump.c (delete_computation): Re-instate deletion of feeding insn.J"orn Rennecke2-11/+31
* jump.c (delete_computation): Re-instate deletion of feeding insn. (delete_insn): Look for REG_LABEL notes. (redirect_tablejump): Delete feeding insns. From-SVN: r37714
2000-11-24Make operand numbers contiguous in four patterns.Bernd Schmidt2-4/+7
From-SVN: r37713
2000-11-24Fix crash in fold_range_testBernd Schmidt2-0/+3
From-SVN: r37712
2000-11-24Fix code that substitutes reloadreg into SET_DEST of previous insn.Bernd Schmidt2-0/+21
From-SVN: r37711
2000-11-24Treat ready list as a (for now, semi-)abstract datatype. Lose max_priority.Bernd Schmidt2-57/+140
From-SVN: r37710
2000-11-24New testcaseBernd Schmidt2-0/+77
From-SVN: r37709
2000-11-24jcf-parse.c (init_jcf_parse): Register current_file_list root.Anthony Green3-16/+31
* jcf-parse.c (init_jcf_parse): Register current_file_list root. Move current_file_list out of yyparse and make it static. * expr.c: Declare quick_stack and tree_list_free_list as static (init_expr_processing): Register quick_stack and tree_list_free_list roots. From-SVN: r37708
2000-11-24Fix bug in previous change.Bernd Schmidt2-0/+5
From-SVN: r37707
2000-11-24Overhaul sequence point warnings (again)Bernd Schmidt6-209/+425
From-SVN: r37706
2000-11-24Avoid a bit of copy propagation when there's a REG_EQUIV noteRichard Sandiford2-6/+21
From-SVN: r37705
2000-11-24Avoid hard register combinationsBernd Schmidt2-7/+54
From-SVN: r37704
2000-11-24c-parse.in (unary_expr): Move VA_ARG from here ...Nathan Sidwell7-5/+46
* c-parse.in (unary_expr): Move VA_ARG from here ... (primary): ... to here. cp: * parse.y (unary_expr): Move VA_ARG from here ... (primary): ... to here. testsuite: * g++.old-deja/g++.other/vaarg4.C: New test. * gcc.c-torture/compile/20001123-1.c: New test. From-SVN: r37703
2000-11-24semantics.c (finish_id_expr): If type is error_mark, return error_mark.Nathan Sidwell5-6/+32
cp: * semantics.c (finish_id_expr): If type is error_mark, return error_mark. testsuite: * g++.other/crash24.C: Adjust and remove XFAIL. * g++.other/crash37.C: New test. From-SVN: r37702
2000-11-24Daily bump.Jeff Law2-2/+2
From-SVN: r37701