aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-02-25* cpplib.pot: Regenerate.Joseph Myers2-92/+122
From-SVN: r95560
2005-02-25* gcc.pot: Regenerate.Joseph Myers2-3763/+4043
From-SVN: r95559
2005-02-25c-parser.c: New file.Joseph Myers16-3646/+6335
* c-parser.c: New file. * c-parse.in: Remove. * Makefile.in (c-parse.o-warn, c-parse.o, c-parse.c, c-parse.y): Remove. (c-parser.o): Add dependencies. (C_AND_OBJC_OBJC, C_OBJS, gcc.srcextra, GTFILES, distclean, maintainer-clean, TAGS): Update. * c-config-lang.in (gtfiles): Update. * gengtype-lex.l: Don't handle "@@". * stub-objc.c (objc_get_class_ivars, objc_build_throw_stmt, objc_build_synchronized, objc_begin_try_stmt, objc_begin_catch_clause, objc_finish_catch_clause, objc_build_finally_clause, objc_finish_try_stmt): New. * c-tree.h (struct c_declspecs): Add declspecs_seen_p and type_seen_p. (c_parse_init): Update comment. * c-decl.c (c_init_decl_processing): Update comment. (build_null_declspecs, declspecs_add_qual, declspecs_add_type, declspecs_add_scspec, declspecs_add_attrs): Initialize and update new c_declspecs members. objc: * Make-lang.in (objc/objc-parse.o-warn, objc/objc-parse.o, objc/objc-parse.c, objc/objc-parse.y): Remove (OBJC_OBJS, objc.srcextra, objc.tags, objc.mostlyclean, objc.distclean, objc.maintainer-clean): Update for new parser. * config-lang.in (gtfiles): Update for new parser. testsuite: * gcc.dg/cpp/separate-1.c, gcc.dg/noncompile/971104-1.c, gcc.dg/noncompile/990416-1.c: Adjust expected messages for new parser. From-SVN: r95558
2005-02-25* crontab: Adjust for 4.0 branch.Mark Mitchell2-1/+6
From-SVN: r95554
2005-02-25elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK from being used ↵Julian Brown2-1/+15
for symbols with vague linkage when... * gcc/config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK from being used for symbols with vague linkage when HAVE_GAS_COMDAT_GROUP is true. From-SVN: r95553
2005-02-25* doc/include/gcc-common.texi (version-GCC): Update to 4.1.Mark Mitchell2-1/+5
From-SVN: r95551
2005-02-25re PR target/19930 (gcc.dg/pr19402-2.c fails on ia64-hpux)Steve Ellcey7-34/+102
PR target/19930 * doc/tm.texi (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Document. (LIBGCC2_HAS_DF_MODE): New. (LIBGCC2_HAS_XF_MODE): New. (LIBGCC2_HAS_TF_MODE): New. * libgcc2.h (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE. (LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE. * libgcc2.c (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE. (LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE. (LIBGCC2_HAS_DF_MODE): New name for HAVE_DFMODE. * config/ia64/t-ia64 (LIB1ASMFUNCS): Remove __compat and add _fixtfdi, _fixunstfdi, _floatditf * lib1funcs.asm: Remove L__compat. Add L_fixtfdi, L_fixunstfdi, L_floatditf. * config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE): Define. (LIBGCC2_HAS_TF_MODE): Define. From-SVN: r95548
2005-02-25re PR tree-optimization/20204 (miscompilation of asm-declared registers)Diego Novillo4-5/+47
PR tree-optimization/20204 * tree-into-ssa.c (insert_phi_nodes_for): Do not use REWRITE_THIS_STMT markers on PHI nodes. (rewrite_initialize_block): Likewise. testsuite/ChangeLog PR tree-optimization/20204 * testsuite/gcc.dg/pr20204.c: New test. From-SVN: r95547
2005-02-25* version.c (version_string): Update to 4.1.Mark Mitchell2-1/+5
From-SVN: r95545
2005-02-25extend.texi (5.24 Declaring Attributes of Functions): Clarify that the ↵Paolo Carlini2-0/+7
alternative way doesn't work in GNU C++. 2005-02-25 Paolo Carlini <pcarlini@suse.de> * doc/extend.texi (5.24 Declaring Attributes of Functions)<noreturn>: Clarify that the alternative way doesn't work in GNU C++. From-SVN: r95542
2005-02-25type_traits: Add the trivial is_union and is_class; add the ↵Paolo Carlini6-108/+213
__is_union_or_class extension. 2005-02-25 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Add the trivial is_union and is_class; add the __is_union_or_class extension. (is_enum, is_empty): Use the latter. * include/tr1/type_traits_fwd.h: Add __is_union_or_class. * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting fixes. * testsuite/tr1/4_metaprogramming/composite_type_traits/ is_union_or_class/is_union_or_class.cc: New. * testsuite/tr1/4_metaprogramming/composite_type_traits/ is_union_or_class/typedefs.cc: Likewise. From-SVN: r95541
2005-02-25tree-ssa-dom.c (simple_iv_increment_p): New function.Zdenek Dvorak1-0/+6
* tree-ssa-dom.c (simple_iv_increment_p): New function. (simplify_rhs_and_lookup_avail_expr, eliminate_redundant_computations): Do not propagate value of iv before increment over the increment. From-SVN: r95540
2005-02-25re PR tree-optimization/19937 (Wrong loop exit (causes binutils to fail))Zdenek Dvorak2-3/+11
PR tree-optimization/19937 * tree-ssa-loop-ivopts.c (rewrite_use_compare): Cast the final value to the type of the induction variable. From-SVN: r95535
2005-02-25re PR rtl-optimization/20117 (duplicated labels in PIC)Kaz Kojima2-1/+17
PR rtl-optimization/20117 * bb-reorder.c (duplicate_computed_gotos): Don't duplicate the block including noncopyable insn. From-SVN: r95533
2005-02-25cse.c (delete_trivially_dead_insns): Speed up by minimizing calls to ↵Kazu Hirata2-1/+6
find_reg_note. * cse.c (delete_trivially_dead_insns): Speed up by minimizing calls to find_reg_note. From-SVN: r95532
2005-02-24re PR tree-optimization/20127 (wrong code for volatile struct members)Richard Henderson2-0/+12
PR tree-opt/20127 * tree-sra.c (instantiate_element): Copy TREE_THIS_VOLATILE from the type. From-SVN: r95530
2005-02-25config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check for vector...Fariborz Jahanian3-0/+29
config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check for vector types if to use base reg for misaligned non-word ld/std. OKed by David Edelsohn. From-SVN: r95529
2005-02-25Daily bump.GCC Administrator2-2/+2
From-SVN: r95524
2005-02-24re PR target/14619 (Incorrect Dwarf 2 information in function prologue)Hans-Peter Nilsson2-2/+16
PR target/14619 * config/cris/cris.c (cris_target_asm_function_prologue): Create dwarf2 label manually and put it after, not before the prologue. From-SVN: r95521
2005-02-24rs6000.md (trunctfdf2): Remove register constraints.David Edelsohn2-3/+6
* config/rs6000/rs6000.md (trunctfdf2): Remove register constraints. Fix formatting. From-SVN: r95520
2005-02-24reload.c (operands_match_p): Only increment register number for ↵David Edelsohn2-2/+11
SCALAR_INT_MODE_P modes in multiple hard... * reload.c (operands_match_p): Only increment register number for SCALAR_INT_MODE_P modes in multiple hard registers. From-SVN: r95519
2005-02-24* decl.c, resolve.c, trans-array.c, trans.h: Fix comment typo(s).Volker Reichelt5-5/+9
From-SVN: r95518
2005-02-24call.c, [...]: Fix comment typo(s).Volker Reichelt9-16/+20
* call.c, class.c, cp-tree.h, decl2.c, error.c, init.c, mangle.c, parser.c: Fix comment typo(s). From-SVN: r95517
2005-02-24ChangeLog.5: Fix log message typo(s).Volker Reichelt12-18/+31
* ChangeLog.5: Fix log message typo(s). * ChangeLog.7: Likewise. * ChangeLog.tree-ssa: Likewise. * cfgexpand.c: Fix comment typo(s). * conflict.c: Likewise. * defaults.h: Likewise. * dwarf2out.c: Likewise. * gcse.c: Likewise. * ggc-page.c: Likewise. * tree-eh.c: Likewise. * tree-ssa-dom.c: Likewise. From-SVN: r95516
2005-02-24re PR target/19019 (GCC ldouble format incompatibility with XLC long double)Jakub Jelinek3-16/+23
PR target/19019 * mklibgcc.in: Pass -DSHARED when compiling all *_s${objext} objects. * config/rs6000/darwin-ldouble.c: Only use the .symver directives if SHARED is defined. From-SVN: r95515
2005-02-24hash.cc: Guard wchar_t use with _GLIBCXX_USE_WCHAR_T.Benjamin Kosnik2-1/+9
2005-02-24 Benjamin Kosnik <bkoz@redhat.com> * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard wchar_t use with _GLIBCXX_USE_WCHAR_T. From-SVN: r95514
2005-02-24re PR target/20196 (Miscompilation of mem_init in 32-bit ppc linux kernel)Jakub Jelinek4-8/+50
PR target/20196 * config/rs6000/rs6000.md (LTU, GTU sCC splitters): Add earlyclobber, allow splitting only if operands 0 and 3 don't overlap. * gcc.c-torture/execute/20050224-1.c: New test. From-SVN: r95513
2005-02-24re PR c++/20175 (Warnings are issued when initializing struct members with ↵Jakub Jelinek4-1/+30
"strings") PR c++/20175 * decl.c (reshape_init): Don't warn about missing braces if STRING_CST initializes a char/wchar_t array. * g++.dg/warn/Wbraces2.C: New test. From-SVN: r95512
2005-02-24re PR middle-end/19953 (Special-case real + complex arithmetic operation ↵Richard Henderson6-19/+248
(-ffast-math)) PR middle-end/19953 * builtins.c (fold_builtin_complex_mul, fold_builtin_complex_div): New. (fold_builtin_1): Call them. * fold-const.c (fold_complex_mult_parts): Split out from ... (fold_complex_mult): ... here. Fix typo in both imaginary case. (fold_complex_div_parts, fold_complex_div): New. (fold): Use them. * tree.h (fold_complex_mult_parts, fold_complex_div_parts): Declare. From-SVN: r95511
2005-02-24tree-ssa-ccp.c (visit_assignment): Verify that result of VIEW_CONVERT_EXPR ↵Richard Kenner2-6/+15
is_gimple_min_invariant. * tree-ssa-ccp.c (visit_assignment): Verify that result of VIEW_CONVERT_EXPR is_gimple_min_invariant. From-SVN: r95510
2005-02-24std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to _GLIBCXX_USE_C99_COMPLEX.Benjamin Kosnik7-15/+25
2005-02-24 Benjamin Kosnik <bkoz@redhat.com> * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to _GLIBCXX_USE_C99_COMPLEX. * acinclude.m4: Same. * acconfig.h: Same. * configure: Regenerate. * config.h.in: Same. From-SVN: r95508
2005-02-24print-tree.c (print_node_brief): Print LABEL_DECL_UID.Richard Kenner2-0/+21
* print-tree.c (print_node_brief): Print LABEL_DECL_UID. (print_node): Likewise. Print TYPE_SIZES_GIMPLIFIED. From-SVN: r95507
2005-02-24Unrevert previously reversed patch, adding this patch:Tobias Schlüter12-74/+108
* module.c (find_true_name): Deal with NULL module. From-SVN: r95506
2005-02-24* config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3")Hans-Peter Nilsson2-7/+13
("mulqihi3", "mulhisi3", "mulsidi3", "umulsidi3"): Mark input operands as commutative in constraints. From-SVN: r95505
2005-02-24re PR treelang/19896 ([treelang] Static variables don't work)James A. Morrison7-0/+165
2005-02-24 James A. Morrison <phython@gcc.gnu.org> PR other/19896 * execute/execute.exp: New file. * execute/funccall.tree, execute/funccall-2.tree, execute/initial.tree, execute/main.tree, execute/static.tree: New tests. From-SVN: r95504
2005-02-24re PR treelang/19896 ([treelang] Static variables don't work)James A. Morrison2-10/+18
2005-02-24 James A. Morrison <phython@gcc.gnu.org> PR other/19896 * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL, TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call rest_of_decl_compilation on static variables. (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic variables. From-SVN: r95503
2005-02-24re PR treelang/19897 ([treelang] External references don't work.)James A. Morrison5-0/+50
2005-02-24 James A. Morrison <phython@gcc.gnu.org> PR other/19897 * compile/exit.tree, compile/extref.tree, compile/function-1.tree, compile/syntax-1.tree: New tests. From-SVN: r95502
2005-02-24parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.James A. Morrison4-64/+79
2005-02-24 James A. Morrison <phython@gcc.gnu.org> * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE. Move function parameters check from ... (function): ...Here. Update call to tree_code_create_function_initial. (function_invocation): Use expressions_with_commas_opt instead of expressions_with_commas. (expressions_with_commas_opt): New rule. * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs for function parameters. (tree_code_create_function_initial): Remove PARMS parameter. Don't create PARM_DECLs for function parameters. * treetree.h (tree_code_create_function_initial): Remove PARMS parameter. From-SVN: r95501
2005-02-24MAINTAINERS (Language Front Ends Maintainers): Add myself as treelang ↵James A. Morrison2-1/+7
maintainer. 2005-02-24 James A. Morrison <phython@gcc.gnu.org> * MAINTAINERS (Language Front Ends Maintainers): Add myself as treelang maintainer. (Write After Approval): Remove myself. From-SVN: r95500
2005-02-24* tree-into-ssa.c: Re-organize internal functions.Diego Novillo2-712/+730
From-SVN: r95499
2005-02-24Revert yesterday's patch:Tobias Schlüter13-105/+83
2005-02-23 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de> * gfortran.h (gfc_component, gfc_actual_arglist, ... ... argument. Copy string instead of pointing to it. From-SVN: r95496
2005-02-24re PR middle-end/18902 (Naive (default) complex division algorithm)Richard Henderson6-4/+42
PR middle-end/18902 * c-opts.c (c_common_post_options): Set flag_complex_method to 2 for c99. * common.opt (fcx-limited-range): New. * opts.c (set_fast_math_flags): Set flag_cx_limited_range. * toplev.c (flag_complex_method): Initialize to 1. (process_options): Set flag_complex_method to 0 if flag_cx_limited_range. * doc/invoke.texi (-fcx-limited-range): New. From-SVN: r95493
2005-02-24functional (mem_fn): Avoid _T, badname on Darwin.Paolo Carlini2-5/+10
2005-02-24 Paolo Carlini <pcarlini@suse.de> * include/tr1/functional (mem_fn): Avoid _T, badname on Darwin. From-SVN: r95492
2005-02-24TextAttribute.java: changed names to lower case;David Gilbert2-57/+249
2005-02-24 David Gilbert <david.gilbert@object-refinery.com> * java/awt/font/TextAttribute.java: changed names to lower case; (readResolve): implemented. Added doc comments all over. From-SVN: r95491
2005-02-24re PR c++/19878 (ICE in import_export_decl)Mark Mitchell4-0/+20
PR c++/19878 * decl.c (grokvardecl): Set DECL_INTERFACE_KNOWN for declarations with internal linkage. PR c++/19878 * g++.dg/init/const2.C: New test. From-SVN: r95490
2005-02-24cse.c (delete_trivially_dead_insns): Speed up by using NEXT_INSN and ↵Kazu Hirata2-8/+13
PREV_INSN directly instead of next_real_insn... * cse.c (delete_trivially_dead_insns): Speed up by using NEXT_INSN and PREV_INSN directly instead of next_real_insn and prev_real_insn. From-SVN: r95488
2005-02-24m68k.c (m68k_save_reg): Also save A5 for non-leaf functions when ↵Andrea Tarani2-3/+12
-mid-shared-library is being used. * config/m68k/m68k.c (m68k_save_reg): Also save A5 for non-leaf functions when -mid-shared-library is being used. From-SVN: r95487
2005-02-24TR1 mem_fn and function supportDouglas Gregor16-30/+2675
From-SVN: r95486
2005-02-24Daily bump.GCC Administrator2-2/+2
From-SVN: r95481
2005-02-23tm.texi (LINK_LIBGCC_SPECIAL): Remove.Daniel Jacobowitz4-19/+12
* doc/tm.texi (LINK_LIBGCC_SPECIAL): Remove. (LINK_LIBGCC_SPECIAL_1): Don't mention it. * gcc.c: Don't check for LINK_LIBGCC_SPECIAL. * system.h: Poison LINK_LIBGCC_SPECIAL. From-SVN: r95476