aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-12-06lang-specs.h (c++): When invoking the stand-alone preprocessor for ↵Alexandre Oliva2-6/+16
-save-temps... * lang-specs.h (c++): When invoking the stand-alone preprocessor for -save-temps, pass all relevant -Defines to it, and then don't pass them to cc1plus. From-SVN: r38067
2000-12-06stdio-opt-1.c: Add more checks.Kaveh R. Ghazi3-13/+92
* testsuite/gcc.c-torture/execute/stdio-opt-1.c: Add more checks. * testsuite/gcc.c-torture/execute/stdio-opt-2.c: New test. From-SVN: r38065
2000-12-06Daily bump.Jeff Law2-2/+2
From-SVN: r38064
2000-12-05mn10300.c (mn10300_print_reg_list): Added.Richard Sandiford4-97/+239
2000-12-05 Richard Sandiford <r.sandiford@redhat.com> * config/mn10300/mn10300.c (mn10300_print_reg_list): Added. (mn10300_get_live_callee_saved_regs): Likewise. (mn10300_gen_multiple_store): Likewise. (store_multiple_operation): Likewise. (expand_prologue): Use mn10300_gen_multiple_store(). * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added. (mn10300_get_live_callee_saved_regs): Likewise. (mn10300_gen_multiple_store): Likewise. (store_multiple_operation): Likewise. * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL tied to store_multiple_operation(). From-SVN: r38062
2000-12-05builtins.c (expand_builtin_setjmp_setup): Set ↵Jeffrey A Law2-0/+9
current_function_has_nonlocal_label. * builtins.c (expand_builtin_setjmp_setup): Set current_function_has_nonlocal_label. From-SVN: r38060
2000-12-05cppfiles.c (stack_include_file): Push zero-length buffers in case of failure.Neil Booth4-57/+72
* cppfiles.c (stack_include_file): Push zero-length buffers in case of failure. Return void, as we don't fail any more. (read_include_file): Check for files we shouldn't re-read. Don't return an error code; errors are implied by marking the file NEVER_REREAD. (_cpp_execute_include): Move the recursion and in-macro checks here. Update for stack_include_file not failing. * cpplib.c (cpp_push_buffer): Always succeed, since _cpp_execute_include performs the recursion check. Tidy up. * cpplib.h (cpp_push_buffer): Update prototype. From-SVN: r38057
2000-12-05sched-vis.c (visual_tbl_line_length): New variable.Alexandre Oliva2-4/+28
* sched-vis.c (visual_tbl_line_length): New variable. (get_visual_tbl_length): Set it. (visualize_stall_cycles): Don't let stalls overrun visual_tbl_line_length. From-SVN: r38053
2000-12-05global.c (global_conflicts): Allow for a REG_UNUSED note with a different ↵Geoffrey Keating4-4/+139
mode to the REG set in the insn. * global.c (global_conflicts): Allow for a REG_UNUSED note with a different mode to the REG set in the insn. * gcc.c-torture/execute/20001203-2.c: New testcase. From-SVN: r38046
2000-12-05Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.Kaveh R. Ghazi3-2/+9
* Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir. * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS). From-SVN: r38045
2000-12-05mkfixinc.sh (*-gnu*): activate fixinc for GNU/Hurd and GNU/Linux.Richard Earnshaw4-6/+16
* fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and GNU/Linux. * fixinc/mkfixinc.sh: Run fixinc on netbsd. * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files, to cope with aliased copies. * fixinc/fixincl.x: Regenerate. From-SVN: r38044
2000-12-05Fix building on non-INSN_SCHEDULING targets, and fix a small bug in ↵Bernd Schmidt3-2/+13
rgn_print_insn. From-SVN: r38042
2000-12-05Modification to define_label and finish_case_label in decl.c to handleWill Cohen2-4/+14
scoping correctly. From-SVN: r38041
2000-12-05cp-tree.h (IDENTIFIER_VIRTUAL_P): Document.Nathan Sidwell8-247/+156
cp: * cp-tree.h (IDENTIFIER_VIRTUAL_P): Document. (get_matching_virtual): Remove. (look_for_overrides): Declare new function. * decl.c (grokfndecl): Don't set IDENTIFIER_VIRTUAL_P or DECL_VINDEX here. * class.c (check_for_override): Move base class iteration code to look_for_overrides. * search.c (next_baselink): Remove. (get_virtuals_named_this): Remove. (get_virtual_destructor): Remove. (tree_has_any_destructors_p): Remove. (struct gvnt_info): Remove. (check_final_overrider): Remove `virtual' from error messages. (get_matching_virtuals): Remove. Move functionality to ... (look_for_overrides): ... here, and ... (look_for_overrides_r): ... here. Set DECL_VIRTUAL_P, if found to be overriding. testsuite: * g++.old-deja/g++.h/spec6.C: Remove some of the XFAILS. * g++.old-deja/g++.other/virtual10.C: New test. From-SVN: r38040
2000-12-05typeck.c (get_delta_difference): If via a virtual base, return zero.Nathan Sidwell5-44/+34
cp: * typeck.c (get_delta_difference): If via a virtual base, return zero. * cvt.c (cp_convert_to_pointer): If via a virtual base, do no adjustment. testsuite: * g++.old-deja/g++.mike/pmf5.C: Remove test. From-SVN: r38039
2000-12-05enable fixincludes for BeOSBruce Korb5-25/+137
From-SVN: r38038
2000-12-05revert cloning patchJason Merrill1-1/+9
From-SVN: r38035
2000-12-05Daily bump.Jeff Law2-2/+2
From-SVN: r38031
2000-12-05* stmt.c (warn_if_unused_value): Move side effects test earlier.Richard Henderson2-4/+8
From-SVN: r38030
2000-12-05New test.Richard Henderson2-0/+25
From-SVN: r38029
2000-12-05bb-reorder.c (reorder_basic_blocks): Do check for EH edges even when using sjlj.Alan Modra2-1/+6
* bb-reorder.c (reorder_basic_blocks): Do check for EH edges even when using sjlj. From-SVN: r38028
2000-12-04flow.c (calculate_global_regs_live): Only force stack pointer live before ↵Richard Henderson2-18/+35
reload. * flow.c (calculate_global_regs_live): Only force stack pointer live before reload. Force pic register live before reload. (insn_dead_p): Don't protect pic references from deletion. From-SVN: r38027
2000-12-04parse.y (patch_method_invocation): Pick the correct enclosing context when ↵Alexandre Petit-Bianco2-1/+33
creating inner class instances. 2000-12-04 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (patch_method_invocation): Pick the correct enclosing context when creating inner class instances. Fixes gcj/332. (http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00217.html) From-SVN: r38026
2000-12-05invoke.texi: Add support for using texi2pod.pl.Joseph Myers2-6/+58
* invoke.texi: Add support for using texi2pod.pl. Don't use @multitable. From-SVN: r38024
2000-12-05Remove spurious test of XScale and HARD_FLOAT floagsNick Clifton2-6/+1
From-SVN: r38023
2000-12-04* error.c (dump_tree): Use output_add_string not OB_PUTS.Richard Henderson2-1/+5
From-SVN: r38021
2000-12-04virtual9.C: New test.Neil Booth4-0/+102
* g++.old-deja/g++.other/virtual9.C: New test. * g++.old-deja/g++.pt/crash61.C: New test. * gcc.c-torture/execute/loop-9.c: New test. From-SVN: r38019
2000-12-04Fix bogons from XScale contributionNick Clifton3-3/+9
From-SVN: r38018
2000-12-04Do not create interworking functions if the target architecture does notNick Clifton2-8/+12
support Thumb instructions. From-SVN: r38017
2000-12-04ONEWS: New file with the current contents of NEWS up to EGCS 1.1.Joseph Myers3-1075/+2525
gcc: * ONEWS: New file with the current contents of NEWS up to EGCS 1.1. * NEWS: Generate automatically from online release notes from EGCS 1.0 to GCC 2.95.2, using ../contrib/gennews. contrib: * gennews: New script. From-SVN: r38016
2000-12-04Remove spurious CYGNUS LOCAL markersNick Clifton2-6/+0
From-SVN: r38015
2000-12-04* gcc.dg/cpp/extratokens.c: Forgotten file.Neil Booth1-0/+38
From-SVN: r38014
2000-12-04instan1.C, instan2.C: Move to...Neil Booth6-24/+7
* g++.old-deja/g++.other/instan1.C, instan2.C: Move to... * g++.old-deja/g++.pt/instantiate1.C, instantiate2.C: ...here. * gcc.dg/cpp/19960224-2.c, endif.c, if-6.c: Move into... * gcc.dg/cpp/extratokens.c: ...here. From-SVN: r38013
2000-12-04assert_trad1.c, [...]: New tests.Neil Booth4-0/+85
* gcc.dg/cpp/assert_trad1.c, assert_trad2.c, assert_trad3.c: New tests. From-SVN: r38012
2000-12-04tradcif.y: Move lexptr to top of file.Neil Booth4-8/+65
* tradcif.y: Move lexptr to top of file. Add rule to handle assertions in conditional expressions. * tradcpp.c (parse_answer): Assertions do not need to go to end of line in conditional directives. (parse_assertion): Get first character of identifiers correct. (test_assertion): New function. * tradcpp.h (test_assertion): New prototype. From-SVN: r38011
2000-12-04config.gcc: Fix typo for UnixWare 7.Rodney Brown2-1/+5
2000-12-01 Rodney Brown <RodneyBrown@mynd.com> * config.gcc: Fix typo for UnixWare 7. From-SVN: r38010
2000-12-04typoDJ Delorie1-2/+2
From-SVN: r38009
2000-12-04invoke.texi: Replace `pedwarns' with clearer text.Phil Edwards2-2/+6
2000-12-03 Phil Edwards <pme@sources.redhat.com> * invoke.texi: Replace `pedwarns' with clearer text. From-SVN: r38008
2000-12-04do not clean autogenerated fixinc filesBruce Korb3-2/+13
From-SVN: r38007
2000-12-04Capitalization fix.DJ Delorie1-1/+1
From-SVN: r38006
2000-12-04* md.texi: Add overview, clarify match_dup and define_expand.DJ Delorie2-0/+90
From-SVN: r38005
2000-12-04print-tree.c (print_node): target-specific builtins print numbers, not names.DJ Delorie2-3/+13
* print-tree.c (print_node): target-specific builtins print numbers, not names. From-SVN: r38004
2000-12-04stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, MODE_VECTOR_FLOAT.Jason Merrill4-3/+13
* stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, MODE_VECTOR_FLOAT. * diagnostic.c (report_problematic_module): s/function/module/. * c-lex.h: Remove decl for check_newline. From-SVN: r38003
2000-12-04mangle.c (write_type): Mangle VECTOR_TYPE with "U8__vector".Jason Merrill12-42/+114
* mangle.c (write_type): Mangle VECTOR_TYPE with "U8__vector". (write_builtin_type): Pass intSI_type_node and the like through type_for_mode. * method.c (process_overload_item): Mangle VECTOR_TYPEs with 'o'. Pass intSI_type_node and the like through type_for_mode. * decl2.c (arg_assoc_type): Handle VECTOR_TYPE like COMPLEX_TYPE. * pt.c (tsubst, unify): Likewise. * tree.c (walk_tree): Likewise. * error.c (dump_type): Likewise. (dump_type_prefix, dump_type_suffix): Don't bother with VECTOR_TYPE. * Make-lang.in: Tweak top comment for emacs. (cp/TAGS): Restore. * except.c (expand_throw): Use push_throw_library_fn for _Jv_Throw. * pt.c (tsubst_decl): Call clone_function_decl here. (do_decl_instantiation): Not here. * class.c (clone_function_decl): Robustify. * decl.c (store_bindings): Only search in the non modified old_bindings for duplicates. From-SVN: r37999
2000-12-04fix typoJason Merrill1-1/+1
From-SVN: r37998
2000-12-04fix typoJason Merrill1-1/+1
From-SVN: r37997
2000-12-04error.c (dump_function_decl): Use DECL_VIRTUAL_P, not TYPE_POLYMORPHIC_P.Nathan Sidwell3-2/+9
cp: * error.c (dump_function_decl): Use DECL_VIRTUAL_P, not TYPE_POLYMORPHIC_P. * typeck.c (build_static_cast): Remove unused variable. From-SVN: r37996
2000-12-04* README.APOLLO: Remove obsolete file.Gerald Pfeifer2-112/+4
From-SVN: r37995
2000-12-04Daily bump.Jeff Law2-2/+2
From-SVN: r37992
2000-12-04* cppinternals.texi: New file.Neil Booth2-0/+229
From-SVN: r37990
2000-12-04cppfiles.c (cpp_make_system_header): Take 2 booleans, and operate on current ↵Neil Booth7-23/+35
buffer. * cppfiles.c (cpp_make_system_header): Take 2 booleans, and operate on current buffer. (cpp_read_file): Rename _cpp_read_file. * cpplib.c (do_line, do_pragma_system_header): Update calls to cpp_make_system_header. * fix-header.c: Similarly. * cpphash.h (_cpp_read_file): Move from... * cpplib.h: ... here. * cppinit.c (do_includes, cpp_start_read): Update appropriately. From-SVN: r37989