aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-02-28Daily bump.GCC Administrator1-1/+1
From-SVN: r95639
2005-02-27re PR libfortran/20101 (zero prints incorrectly with 1pe12.4)Francois-Xavier Coudert2-0/+14
libgfortran/ 2005-02-27 Fran��ois-Xavier Coudert <coudert@clipper.ens.fr> PR libfortran/20101 * write.c (output_float): Adding special check for value 0.0 in PE format. gcc/testsuite/ 2005-02-27 Fran��ois-Xavier Coudert <coudert@clipper.ens.fr> PR libfortran/20101 * gfortran.dg/write_0_pe_format.f90: New test. From-SVN: r95628
2005-02-27arith.c (gfc_check_real_range): Remove multiple returnsSteven G. Kargl2-124/+43
* arith.c (gfc_check_real_range): Remove multiple returns (check_result): New function. (gfc_arith_uminus,gfc_arith_plus,gfc_arith_times, gfc_arith_divide,gfc_arith_power,gfc_arith_minus): Use it. From-SVN: r95624
2005-02-27re PR c++/20206 (COMDAT broken for C++ thunks)Jakub Jelinek5-1/+120
PR c++/20206 * decl.c (cxx_comdat_group): Put thunks for TARGET_USE_LOCAL_THUNK_ALIAS_P (function) functions into the same comdat group as the thunk target. * g++.dg/opt/thunk2.C: New test. * g++.dg/opt/covariant1.C: New test. From-SVN: r95619
2005-02-27re PR rtl-optimization/17728 (ICE in extract_insn, at recog.c:2083, ↵John David Anglin2-5/+11
unrecognizable insn) PR rtl-optimization/17728 * pa.md (mulsi3, divsi3, udivsi3, modsi3): Change predicate for operand 0 from general_operand to move_dest_operand. From-SVN: r95616
2005-02-27write.c (output_float): Fix typo in condition.Tobias Schlüter2-0/+17
libgfortran/ * io/write.c (output_float): Fix typo in condition. gcc/testsuite/ * gfortran.dg/e_d_fmt.f90: New test. From-SVN: r95615
2005-02-27* treelang.texi: Fix a typo.Kazu Hirata2-1/+5
From-SVN: r95611
2005-02-27* gcc.dg/asm-b.c: Fix comment typos.Kazu Hirata2-3/+7
From-SVN: r95609
2005-02-26inline_asm-2.c: link_error produces a V_MAY_DEF also.Andrew Pinski2-2/+7
2005-02-26 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/tree-ssa/inline_asm-2.c: link_error produces a V_MAY_DEF also. From-SVN: r95606
2005-02-27elf.h, som.h (ASM_OUTPUT_EXTERNAL): Use assemble_name_raw instead of trying ↵John David Anglin4-52/+68
to save and restore TREE_SYMBOL_REFERENCED. * pa/elf.h, pa/som.h (ASM_OUTPUT_EXTERNAL): Use assemble_name_raw instead of trying to save and restore TREE_SYMBOL_REFERENCED. * pa/pa64-hpux.h (ASM_OUTPUT_TYPE_DIRECTIVE): Define. (ASM_OUTPUT_EXTERNAL): Don't save and restore TREE_SYMBOL_REFERENCED. From-SVN: r95605
2005-02-27seh_init.c (__gnat_SEH_error_handler): Mark third and fourth parameters as ↵Danny Smith2-2/+7
unused. * seh_init.c (__gnat_SEH_error_handler): Mark third and fourth parameters as unused. From-SVN: r95604
2005-02-27Daily bump.GCC Administrator1-1/+1
From-SVN: r95601
2005-02-26(top level)Nathanael Nerode7-103/+42
Merged from libada-gnattools-branch: 2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org> * gnattools: New directory. * Makefile.def: Add gnattools as a module, depending on target-libada. * Makefile.in: Regenerate. * configure.in: Include gnattools in host_tools; disable it if ada is disabled. * configure: Regenerate. (gcc) * configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada. * configure: Regenerate. * libada-mk.in: Remove CC; rename cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada. (gcc/ada) Partial merge from libada-gnattools-branch: 2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Move gnattools{1,1re,2,3,4} and corresponding flags into code in gnattools/Makefile.in. Remove direct dependencies on stamp-tools by tools clauses. 2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org> * config-lang.in: Add gnattools to $lang_dirs. (libada) 2004-12-03 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Add stamp file for building libada, to avoid duplicate builds every time all-gnattools is called. 2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Build gcc/ada/Makefile (by running gcc/ada/configure) here. 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org> * configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST, _TARGET. * configure: Regenerate. 2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org> * configure.ac, Makefile.in: Remove gnattools-specific code (see gnattools directory). * Makefile.in: Remove dead rts-* targets. * configure: Regenerate. (gnattools) 2005-02-02 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Remove use of cc_set_by_configure; just use plain old CC from the top level in this case. 2005-01-30 Nathanael Nerode <neroden@gcc.gnu.org> Merge from mainline at tag libada-gnattools-merge-20050129: * configure.ac: Changes propagated from gcc/ada/Makefile.in. * Makefile.in: Changes relocated from gcc/ada/Makefile.in. 2004-12-13 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Reinstate stamp-gnatlib check. 2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Inline gnattools{1,1-re,2,3,4} targets from gcc/ada/configure.ac into gnattools-native and gnattools-cross targets, collecting flags as appropriate from here, gcc/ada/Makefile.in, gcc/ada/configure.ac, etc. Attempt to retain identical behavior. * configure.ac: Add necessary configure bits from gcc/ada/configure.ac. * configure: Regenerate. 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org> * configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST, _TARGET. Replace _GCC_TOPLEV_NONCANONICAL_TARGET with ACX_NONCANONICAL_TARGET, and replace now-redundant AC_SUBST. * configure: Regenerate. 2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in, configure.ac: Remove libada-specific targets and variables. * configure: Regenerate. * New directory, cloned from libada. From-SVN: r95594
2005-02-26re PR tree-optimization/20188 (asm and memory operands does not add a V_MAY_DEF)Andrew Pinski6-2/+89
2005-02-26 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/20188 * gcc.dg/tree-ssa/inline_asm-1.c: New test. * gcc.dg/tree-ssa/inline_asm-2.c: New test. * gcc.dg/asm-b.c: New test. 2005-02-26 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/20188 * tree-ssa-alias.c (count_uses_and_derefs): If we have TREE_LIST for the lhs, also walk over the tree. Likewise for rhs. From-SVN: r95586
2005-02-26var_defs: Add uninitialized variables.James A. Morrison2-2/+8
2005-02-26 James A. Morrison <phython@gcc.gnu.org> * compile/var_defs: Add uninitialized variables. From-SVN: r95585
2005-02-26parse.y (function_invocation, [...]): Pass location to tree_code_get_expression.James A. Morrison4-8/+30
2005-02-26 James A. Morrison <phython@gcc.gnu.org> * parse.y (function_invocation, variable-ref, make_plus_expression): Pass location to tree_code_get_expression. * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval. (tree_code_get_expression): Wrap variable references in NOP_EXPRs and set EXPR_LOCATION on ret1. * treetree.h (tree_code_get_expression): Take the location of the expression as an argument. From-SVN: r95584
2005-02-26extrafunc.tree, [...]: New tests.James A. Morrison3-0/+41
2005-02-26 James A. Morrison <phython@gcc.gnu.org> * compile/extrafunc.tree, compile/extravar.tree: New tests. From-SVN: r95581
2005-02-26treelang.texi: Treelang does have warnings.James A. Morrison3-17/+20
2005-02-26 James A. Morrison <phython@gcc.gnu.org> * treelang.texi: Treelang does have warnings. * treetree.c (tree_code_create_function_prototype): Don't set TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC as few times as needed on the function declaration. (tree_code_create_function_initial): Don't set TREE_USED, TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration. (tree_code_create_variable): Don't set TREE_USED on VAR_DECL. (tree_code_get_expression): Set TREE_USED for variable references and function calls. From-SVN: r95580
2005-02-26unsigned.tree: New test.James A. Morrison2-0/+23
2005-02-26 James A. Morrison <phython@gcc.gnu.org> * compile/unsigned.tree: New test. From-SVN: r95579
2005-02-26parse.y: Do comparisons as the type of the first expression.James A. Morrison3-2/+12
2005-02-26 James A. Morrison <phython@gcc.gnu.org> * parse.y: Do comparisons as the type of the first expression. * treetree.c (tree_code_get_integer_value): Build integer constants with the proper type. From-SVN: r95578
2005-02-26Make-lang.in: Remove commented out code.James A. Morrison3-1/+6
2005-02-26 James A. Morrison <phython@gcc.gnu.org> * Make-lang.in: Remove commented out code. * lang-specs.h: Always pass -dumpbase to tree1. From-SVN: r95577
2005-02-26mul-subnormal-single-1.x: New file.Richard Sandiford2-0/+11
* gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: New file. Disable this test on IRIX 6. From-SVN: r95572
2005-02-26tree-ssa-dom.c (simple_iv_increment_p): New function.Zdenek Dvorak2-7/+55
* 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: r95571
2005-02-26treelang.texi: Remove extra contribution notice.James A. Morrison2-36/+39
2005-02-25 James A. Morrrison <phython@gcc.gnu.org> * treelang.texi: Remove extra contribution notice. Split up some run-on sentences. Document function parameters as optional. Indicate automatic variables can now be at any scope. Mention literals are only signed if they are preceded by a unary plus or minus. Clarify interoperability with C. From-SVN: r95569
2005-02-26treelang.texi: Fix whitespacing.James A. Morrison2-95/+101
2005-02-25 James A. Morrison <phython@gcc.gnu.org> * treelang.texi: Fix whitespacing. From-SVN: r95568
2005-02-26Daily bump.GCC Administrator1-1/+1
From-SVN: r95566
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-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-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 Administrator1-1/+1
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-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