aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-03-02* rtl.def (define_combine): Remove.Kazu Hirata2-4/+4
From-SVN: r78755
2004-03-02* config/h8300/h8300.md: Tweak formatting.Kazu Hirata2-30/+28
From-SVN: r78753
2004-03-02h8300.md (*cmphi_h8300): Rename to *cmphi_h8300_znvc.Kazu Hirata2-2/+8
* config/h8300/h8300.md (*cmphi_h8300): Rename to *cmphi_h8300_znvc. (*cmphi_h8300hs): Rename to *cmphi_h8300hs_znvc. From-SVN: r78752
2004-03-02re PR bootstrap/14356 (gcc.c:3661: error: assignment of read-only location)Mark Mitchell2-6/+12
PR bootstrap/14356 * gcc.c (process_command): Remove const-qualification from argv. (main): Likewise. From-SVN: r78751
2004-03-02h8300.md (pushqi1_h8300hs): Rename to pushqi1_h8300hs_advanced.Kazu Hirata2-4/+11
* config/h8300/h8300.md (pushqi1_h8300hs): Rename to pushqi1_h8300hs_advanced. Adjust its caller. (pushhi1_h8300hs): Rename to pushhi1_h8300hs_advanced. Adjust its caller. From-SVN: r78749
2004-03-02Makefile.in (install-libgcc, [...]): Pass mkinstalldirs var to libgcc.mk.Nicolas Roche2-0/+7
2004-03-02 Roche Nicolas <roche@act-europe.fr> * Makefile.in (install-libgcc, install-multilib): Pass mkinstalldirs var to libgcc.mk. From-SVN: r78747
2004-03-02re PR c++/14369 (errenous reject of well-formed code)Mark Mitchell4-0/+38
PR c++/14369 * pt.c (build_non_dependent_expr): Do not create a NON_DEPENDENT_EXPR for a THROW_EXPR. PR c++/14369 * g++.dg/template/cond4.C: New test. From-SVN: r78746
2004-03-02system.h (DBX_OUTPUT_STANDARD_TYPES): Poison.Kazu Hirata3-60/+7
* system.h (DBX_OUTPUT_STANDARD_TYPES): Poison. * doc/tm.texi (DBX_OUTPUT_STANDARD_TYPES): Remove. From-SVN: r78744
2004-03-02h8300.c (gtle_operator): Accept GT and LE.Kazu Hirata3-90/+218
* config/h8300/h8300.c (gtle_operator): Accept GT and LE. * config/h8300/h8300.md: Split several peephole2's, each into two. From-SVN: r78741
2004-03-02re PR c++/14360 (Overeager argument dependent name lookup)Mark Mitchell7-6/+61
PR c++/14360 * parser.c (cp_parser_postfix_expression): Do not perform Koenig lookup if ordinary name-lookup finds a non-function. * pt.c (tsubst_copy_and_build): Likewise. PR c++/14361 * parser.c (cp_parser_late_parsing_default_args): Check that there are no extra tokens after the end of the default-argument expression. PR c++/14360 * g++.old-deja/g++.ns/koenig5.C: Remove some error markers. PR c++/14361 * g++.dg/parse/defarg7.C: New test. PR c++/14359 * g++.dg/template/friend26.C: New test. From-SVN: r78739
2004-03-02* dominance.c (recount_dominator): Handle postdominators.Zdenek Dvorak2-9/+28
From-SVN: r78734
2004-03-02Daily bump.GCC Administrator1-1/+1
From-SVN: r78730
2004-03-02Fix typo: FIRST_PSEOUDO_REGISTER -> FIRST_PSEUDO_REGISTERBernardo Innocenti1-1/+1
From-SVN: r78727
2004-03-01re PR c++/14369 (errenous reject of well-formed code)Gabriel Dos Reis2-0/+10
PR c++/14369 * error.c (dump_expr): Handle THROW_EXPR. From-SVN: r78723
2004-03-01re PR c++/14324 (Multiple static definitions are not unique)Mark Mitchell8-6/+80
PR c++/14324 * lex.c (retrofit_lang_decl): Treat entities with no linkage as having C++ linkage for name-mangling purposes. PR c++/14260 * parser.c (cp_parser_direct_declarator): Recognize constructor declarators that use a template-id to name the class being constructed. PR c++/14337 * pt.c (tsubst_qualified_id): Handle dependent qualifying scopes. (tsubst_expr): Do not call tsubst_copy, even when processing_template_decl. PR c++/14324 * g++.dg/abi/mangle21.C: New test. PR c++/14260 * g++.dg/parse/constructor2.C: New test. PR c++/14337 * g++.dg/template/sfinae1.C: New test. From-SVN: r78720
2004-03-01mips-protos.h (enum mips_symbol_type): Move from mips.h.Richard Sandiford6-104/+208
* config/mips/mips-protos.h (enum mips_symbol_type): Move from mips.h. (NUM_SYMBOL_TYPES): Likewise. (SYMBOL_64_HIGH, SYMBOL_64_MID, SYMBOL_64_LOW): New symbol types. (mips_unspec_address): Declare. (mips_gotoff_page, mips_gotoff_global): Delete. * config/mips/mips.h (PREDICATE_CODES): Add general_symbolic_operand. * config/mips/mips.c (enum mips_symbol_type, NUM_SYMBOL_TYPES): Delete. (mips_symbolic_constant_p, mips_symbolic_address_p) (mips_symbol_insns): Handle new symbol types. (general_symbolic_operand): New predicate. (mips_unspec_address): Make extern. (mips_gotoff_page, mips_gotoff_global): Delete. (override_options): Allow -mabi=64 -mno-abicalls -mexplicit-relocs. Handle new symbol types. * config/mips/mips.md (*lea_high64, *lea64): New patterns. (*xgot_hi[sd]i, *xgot_lo[sd]i, *got_disp[sd]i, *got_disp[sd]i): Call mips_unspec_address directly. * doc/invoke.texi: Remove the -mabi=64 -mno-abicalls exception from the documentation of -mexplicit-relocs. From-SVN: r78718
2004-03-01fold-const.c (fold): An equality comparison of a non-weak object against ↵Jeff Law5-8/+121
zero has a known result. * fold-const.c (fold): An equality comparison of a non-weak object against zero has a known result. Similarly an equality comparison of the address of two non-weak, unaliased symbols has a known result. * ggc-page.c (struct page_entry): New field PREV. (ggc_alloc): Update PREV field appropriately. (sweep_pages): Likewise. (ggc_free): Likewise. Use PREV field rather than loop to improve ggc_free performance. cp/ * init.c (build_vec_delete_1): Convert 2nd argument to NE_EXPR to the proper type. From-SVN: r78713
2004-03-01mips.c (mips_output_division): Use the division instruction to fill the ↵Richard Sandiford2-11/+18
delay slot of a zero check. * config/mips/mips.c (mips_output_division): Use the division instruction to fill the delay slot of a zero check. (mips_idiv_insns): Adjust accordingly. From-SVN: r78712
2004-03-01config.gcc: Create a default tmake_file for linux, and use it in all but two ↵Nathanael Nerode2-22/+29
linux clauses. * config.gcc: Create a default tmake_file for linux, and use it in all but two linux clauses. Comment those two. From-SVN: r78704
2004-03-01combine.c (try_combine): Do not refer to is_replaced.Paolo Bonzini4-6/+12
2004-03-01 Paolo Bonzini <bonzini@gnu.org> * combine.c (try_combine): Do not refer to is_replaced. (gen_lowpart_for_combine): Perverse subregs now have a more politically correct name. * cse.c (cse_insn): Likewise. * jump.c: Fix bogus reference to delete_insn. From-SVN: r78698
2004-03-01re PR c++/14138 (100x -O0 C++ Compile Time Regression {3.2,3.3} -> {3.4,4.0})Mark Mitchell7-31/+83
PR c++/14138 * name-lookup.h (push_scope): Change prototype. * name-lookup.c (push_scope): Do not reenter the current class scope. * decl.c (grokfndecl): Check return code from push_scope before calling pop_scope. * decl2.c (check_classfn): Likewise. * parser.c (cp_parser_conversion_function_id): Likewise. (cp_parser_init_declarator): Likewise. (cp_parser_direct_declarator): Likewise. (cp_parser_class_specifier): Likewise. (cp_parser_class_head): Likewise. (cp_parser_lookup_name): Likewise. (cp_parser_constructor_declarator_p): Likewise. * pt.c (instantiate_class_template): Likewise. (resolve_typename_type): Likewise. From-SVN: r78696
2004-03-01re PR debug/14328 (gcc3.2.2 generates incorrect debugging enum values)Mark Mitchell2-10/+14
PR debug/14328 * dwarf2out.c (gen_enumeration_type_die): Output all enumeration constants as signed values. From-SVN: r78690
2004-03-01re PR c++/14267 (ICE on invalid, cast to lval related)Mark Mitchell4-46/+22
PR c++/14267 * typeck.c (build_modify_expr): Remove more of the cast-as-lvalue extension. PR c++/14267 * g++.dg/expr/crash2.C: New test. From-SVN: r78689
2004-03-01Daily bump.GCC Administrator1-1/+1
From-SVN: r78686
2004-02-29re PR middle-end/13448 (gcc 3.3.2, internal error when -O3 and trying to ↵Mark Mitchell9-27/+71
modify function const arg) PR middle-end/13448 * c-tree.h (readonly_warning): Rename to ... (readonly_error): ... this. * c-typeck.c (build_unary_op): Adjust accordingly. (readonly_warning): Rename to ... (readonly_error): ... this and issue errors, not warnings. (build_modify_expr): Call readonly_error, not readonly_warning. (c_expand_asm_operands): Likewise. * tree-inline.c (optimize_inline_calls): Do not inline functions after errors have occurred. PR middle-end/13448 * gcc.dg/inline-5.c: New test. * gcc.dg/always-inline.c: Split out tests into ... * gcc.dg/always-inline2.c: ... this and ... * gcc.dg/always-inline3.c: ... this. From-SVN: r78682
2004-02-29re PR debug/12103 (-g only crash (segfault) with a forward declared class ↵Mark Mitchell4-1/+31
used as a template parameter) PR debug/12103 * class.c (update_vtable_entry_for_fn): Do not go through covariance machinery if the type returned by an overrider is the same as the original. PR debug/12103 * g++.dg/debug/crash1.C: New test. From-SVN: r78680
2004-02-29configure.ac: Rearrange some threading code for clarity; add section comment.Nathanael Nerode3-35/+72
* configure.ac: Rearrange some threading code for clarity; add section comment. * configure: Regenerate. From-SVN: r78678
2004-02-29passes.c, [...]: Fix comment typos.Kazu Hirata7-5/+15
gcc/ * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment typos. * doc/cppopts.texi: Fix a typo. gcc/cp/ * call.c: Fix a comment typo. From-SVN: r78676
2004-02-29* config/i386/i386.md: Fix formatting.Kazu Hirata2-3/+7
From-SVN: r78674
2004-02-29* configure.ac: Add some comments delineating sections of code.Nathanael Nerode2-0/+18
From-SVN: r78672
2004-02-29* doc/install.texi: Note that libada uses autoconf 2.57 also.Nathanael Nerode2-1/+3
From-SVN: r78671
2004-02-29* doc/install.texi: Fix idiot typo in previous commit.Nathanael Nerode2-1/+3
From-SVN: r78670
2004-02-29* doc/install.texi: Update for conversion of intl to autoconf 2.57.Nathanael Nerode2-1/+5
From-SVN: r78669
2004-02-29* config/h8300/h8300.md: Add comments about peephole2's.Kazu Hirata2-0/+78
From-SVN: r78667
2004-02-29h8300.md: Tweak operand numbers of some peephole2's.Kazu Hirata2-24/+29
* config/h8300/h8300.md: Tweak operand numbers of some peephole2's. From-SVN: r78658
2004-02-29* config/h8300/h8300.md: Tweak comments about peephole2's.Kazu Hirata2-11/+23
From-SVN: r78657
2004-02-29Fix the date of the last entry.Kazu Hirata1-1/+1
From-SVN: r78653
2004-02-29sibcall-3.c (recurser_void1): Make it an extern function with ↵Kazu Hirata3-8/+16
__attribute__((noinline)). * gcc.dg/sibcall-3.c (recurser_void1): Make it an extern function with __attribute__((noinline)). (recurser_void2): Likewise. * gcc.dg/sibcall-4.c (recurser_void1): Likewise. (recurser_void2): Likewise. From-SVN: r78652
2004-02-29parse.c (ffe_parse_file): Handle the case that main_input_filename is NULL.Roger Sayle2-2/+9
* parse.c (ffe_parse_file): Handle the case that main_input_filename is NULL. From-SVN: r78650
2004-02-29jcf-parse.c (java_parse_file): Handle the case that input_filename is NULL.Roger Sayle2-3/+7
* jcf-parse.c (java_parse_file): Handle the case that input_filename is NULL. From-SVN: r78649
2004-02-29[multiple changes]Roger Sayle4-2/+24
2004-02-29 Waldek Hebisch <hebisch@math.uni.wroc.pl> PR middle-end/14203 * function.c (uninitialized_vars_warning): Use DECL_RTL_SET_P instead of testing whether DECL_RTL is not NULL. 2004-02-29 Roger Sayle <roger@eyesopen.com> PR middle-end/14203 * g++.dg/warn/Wunused-6.C: New test case. From-SVN: r78648
2004-02-29* config/sh/sh.c: Fix formatting.Kazu Hirata2-219/+227
From-SVN: r78646
2004-02-29* config/sh/sh.c: Convert to ISO-C.Kazu Hirata2-58/+40
From-SVN: r78645
2004-02-29Daily bump.GCC Administrator1-1/+1
From-SVN: r78642
2004-02-28c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in my previous patch.Andrew Pinski2-1/+4
2004-02-28 Andrew Pinski <pinskia@physics.uc.edu> * c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in my previous patch. From-SVN: r78635
2004-02-28darwin.h (machopic_finish): Output stub even if the symbol is already defined.Andrew Pinski2-4/+5
2004-02-28 Andrew Pinski <pinskia@physics.uc.edu> * config/darwin.h (machopic_finish): Output stub even if the symbol is already defined. From-SVN: r78634
2004-02-28* pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg.John David Anglin2-4/+14
From-SVN: r78632
2004-02-28genattr.c (main): Don't define TRADITIONAL_PIPELINE_INTERFACE or ↵Kazu Hirata4-25/+11
DFA_PIPELINE_INTERFACE. * genattr.c (main): Don't define TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE. * system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison. (DFA_PIPELINE_INTERFACE): Likewise. * doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove. (DFA_PIPELINE_INTERFACE): Likewise. From-SVN: r78628
2004-02-28* config/mips/mips.md (tstsi, tstdi): Delete.Richard Sandiford2-22/+4
From-SVN: r78624
2004-02-28mips.c (override_options): Remove an obsolete duplicate definition of the ↵Maciej W. Rozycki3-2/+7
"e" constraint. * config/mips/mips.c (override_options): Remove an obsolete duplicate definition of the "e" constraint. * config/mips/mips.h: Update a comment accordingly. From-SVN: r78623