aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2008-02-03Daily bump.GCC Administrator1-1/+1
From-SVN: r132076
2008-02-02re PR target/35045 (gcc-4.3 generates wrong code on i386 with -O3)Michael Matz4-12/+73
PR target/35045 * postreload-gcse.c (record_last_reg_set_info_regno): Renamed from record_last_reg_set_info. (record_last_reg_set_info): Take an RTX argument, iterate over all constituent hardregs. (record_last_set_info, record_opr_changes): Change calls to new signature or to record_last_reg_set_info_regno. * gcc.dg/pr35045.c: New test. From-SVN: r132071
2008-02-02re PR libfortran/35001 (shape for negative sizes)Thomas Koenig2-0/+17
2008-02-02 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/35001 * m4/shape.m4: Return 0 for extents <= 0. * generated/shape_i4.c: Regenerated. * generated/shape_i8.c: Regenerated. * generated/shape_i16.c: Regenerated. 2008-02-02 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/35001 * gfortran.dg/shape_4.f90: New test. Fixed in regression-only mode by special dispense (see the PR). From-SVN: r132070
2008-02-02* doc/extend.texi (X86 Built-in Functions): Fix grammar.Gerald Pfeifer2-3/+7
From-SVN: r132069
2008-02-02* gcc.target/cris/torture/pr34773.c: Use __asm__, not asm.Hans-Peter Nilsson2-5/+9
From-SVN: r132064
2008-02-02Daily bump.GCC Administrator1-1/+1
From-SVN: r132057
2008-02-01re PR rtl-optimization/34773 (miscompilation of vfprintf_r)Hans-Peter Nilsson3-4/+17
PR rtl-optimization/34773 * reg-notes.def (EQUAL): Mention significance of combination of REG_EQUAL and REG_RETVAL. * fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an insn that has a REG_RETVAL. From-SVN: r132053
2008-02-01re PR rtl-optimization/34773 (miscompilation of vfprintf_r)Hans-Peter Nilsson2-0/+79
PR rtl-optimization/34773 * gcc.target/cris/torture/pr34773.c: New test. From-SVN: r132052
2008-02-01re PR bootstrap/33781 ("Arg list too long" building libgcc.a)Roger Sayle3-4/+28
PR bootstrap/33781 * configure.ac (--enable-fixed-point): Disable unless explicitly requested on IRIX. * configure: Regenerate. From-SVN: r132047
2008-02-01* lib/target-supports.exp (check_profiling_available): Do not expect ↵Nick Clifton2-0/+6
profiling to work on the xstormy16 target. From-SVN: r132002
2008-02-01* gcc.pot: Regenerate.Joseph Myers2-4605/+4667
From-SVN: r132000
2008-02-01re PR other/35042 (Documentation for -finline-limit is incorrect)Richard Guenther2-15/+12
2008-02-01 Richard Guenther <rguenther@suse.de> PR other/35042 * invoke.texi (-finline-limit): Remove no longer true parts of the documentation. Note that there is no default value. From-SVN: r131998
2008-02-01re PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 ↵Uros Bizjak5-24/+42
or on i386-apple-darwin8.11.1) PR testsuite/35047 * gcc.c-torture/execute/20050316-2.x: New file. * gcc.target/i386/pr17390.c: Update scan pattern. * gcc.dg/builtin-apply4.c: Add -mno-mmx for 32bit x86 targets. * g++.dg/tree-ssa/ivopts-1.C: Remove XPASS for x86 targets. From-SVN: r131997
2008-02-01re PR c/29326 (__builtin_trap is not documented)Andrew Pinski2-0/+15
PR c/29326 * doc/extend.texi (Other Builtins): Document. Co-Authored-By: Ben Elliston <bje@au.ibm.com> Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r131996
2008-02-01Daily bump.GCC Administrator1-1/+1
From-SVN: r131993
2008-01-31c-tree.texi (Types): Fix grammar.Tom Browder7-8/+20
* doc/c-tree.texi (Types): Fix grammar. (Expression trees): Ditto. * doc/passes.texi (Tree-SSA passes): Ditto. * doc/configterms.texi (Configure Terms): Fix typo. * doc/cpp.texi (Common Predefined Macros): Ditto. * doc/md.texi (Machine Constraints): Ditto. * doc/makefile.texi (Makefile): Add comma. From-SVN: r131987
2008-01-31sourcebuild.texi (Front End): Remove references to CVS and CVSROOT/modules.Tom Browder2-5/+11
* doc/sourcebuild.texi (Front End): Remove references to CVS and CVSROOT/modules. (Texinfo Manuals): Replace reference to CVS by one to SVN. (Back End): Remove reference to CVS. Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com> From-SVN: r131986
2008-01-31re PR fortran/34910 (ICE on invalid assignments in doubly-contained functions)Paul Thomas4-0/+41
2008-01-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/34910 * expr.c (gfc_check_assign): It is an error to assign to a sibling procedure. 2008-01-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/34910 * gfortran.dg/proc_assign_2.f90: New test. From-SVN: r131985
2008-01-31re PR c++/34935 (ICE with attribute may_alias)Douglas Gregor6-0/+98
2008-01-31 Douglas Gregor <doug.gregor@gmail.com> Jakub Jelinek <jakub@redhat.com> PR c++/34935 PR c++/34936 * typeck.c (structural_comptypes): Handle comparisons of VOID_TYPE, BOOLEAN_TYPE, INTEGER_TYPE, FIXED_POINT_TYPE, and REAL_TYPE nodes. * mangle.c (write_builtin_type): Map down to the canonical type, which will be one of the predefined type nodes. 2008-01-31 Douglas Gregor <doug.gregor@gmail.com> Jakub Jelinek <jakub@redhat.com> PR c++/34935 PR c++/34936 * g++.dg/ext/alias-canon.C: New. * g++.dg/ext/alias-mangle.C: New. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r131984
2008-01-31re PR target/34900 (target mips64vrel-elf. Internal compiler error (in ↵Richard Sandiford3-5/+24
reload_cse_simplify_operands, at postreload.c:392) while building libiberty) gcc/ PR target/34900 * config/mips/mips.c (gen_load_const_gp): New function, taking a comment from... (mips16_gp_pseudo_reg): ...here. * config/mips/mips.md (load_const_gp): Replace with... (load_const_gp_<mode>): ...this :P-based insn. From-SVN: r131983
2008-01-31invoke.texi (-ansi): Mention explicitly corresponding -std= options.Manuel López-Ibáñez2-10/+16
2008-01-31 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * doc/invoke.texi (-ansi): Mention explicitly corresponding -std= options. Minor fixes. (-std): Move reference to standards closer to where language standards are first mentioned. From-SVN: r131980
2008-01-31re PR target/34995 (MIPS16 ICE in gcc.c-torture/compile/pr34856.c)Richard Sandiford2-12/+43
gcc/ PR rtl-optimization/34995 * reload.c (alternative_allows_const_pool_ref): Take an rtx parameter and return a bool. If the rtx parameter is nonnull, check that it satisfies an EXTRA_MEMORY_CONSTRAINT. (find_reloads): Update call accordingly. Pass the new operand if it needed no address reloads, otherwise pass null. From-SVN: r131976
2008-01-31Change accidental 2007 dates to 2008.Bob Wilson1-3/+3
From-SVN: r131975
2008-01-31Daily bump.GCC Administrator1-1/+1
From-SVN: r131973
2008-01-30re PR c/34993 (ICE with attribute for array with unknown bound)Richard Henderson3-2/+14
PR c/34993 * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN for unbounded arrays. From-SVN: r131970
2008-01-30* gcc.c-torture/execute/pr34982.c: Add forgotten return 0.Jan Hubicka2-1/+6
From-SVN: r131969
2008-01-30first-global.C: Add -fpie for all pic targets.Kaveh R. Ghazi3-2/+7
* g++.dg/other/first-global.C: Add -fpie for all pic targets. * g++.dg/parse/attr-externally-visible-1.C: Likewise. From-SVN: r131968
2008-01-30* config/i386/xmmintrin.h (_mm_prefetch): Added const to first arg.Silvius Rus2-2/+6
From-SVN: r131967
2008-01-30re PR target/34982 (calling a function with undefined parameters causes ↵Jan Hubicka4-0/+35
segmentation fault at -O1 or higher) PR target/34982 * i386.c (init_cumulative_args): Use real function declaration when calling locally. From-SVN: r131966
2008-01-30re PR rtl-optimization/34998 (gcc.c-torture/execute/20040709-1.c fails for ↵Richard Sandiford3-9/+37
-EL -mips16 -O3) gcc/ PR rtl-optimization/34998 * global.c (build_insn_chain): Treat non-subreg_lowpart SUBREGs of pseudos as clobbering all the words covered by the SUBREG, not just all the bytes. * ra-conflict.c (clear_reg_in_live): Likewise. Take the original df_ref rather than an extract parameter. (global_conflicts): Update call accordingly. From-SVN: r131960
2008-01-30fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange the overflow check to make it ↵Andreas Krebbel4-14/+77
easier to read. 2008-01-30 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange the overflow check to make it easier to read. (__fixtfdi): Change the type of the ll member in union long_double to UDItype_x. 2008-01-30 Andreas Krebbel <krebbel1@de.ibm.com> * gcc.target/s390/tf_to_di-1.c: New testcase. From-SVN: r131957
2008-01-30re PR fortran/34975 (Bogus error with USEing modules)Paul Thomas10-35/+1128
2008-01-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/34975 * symbol.c (gfc_delete_symtree, gfc_undo_symbols): Rename delete_symtree to gfc_delete_symtree. * gfortran.h : Add prototype for gfc_delete_symtree. * module.c (load_generic_interfaces): Transfer symbol to a unique symtree and delete old symtree, instead of renaming. (read_module): The rsym and the found symbol are the same, so the found symtree can be deleted. PR fortran/34429 * decl.c (match_char_spec): Remove the constraint on deferred matching of functions and free the length expression. delete_symtree to gfc_delete_symtree. (gfc_match_type_spec): Whitespace. (gfc_match_function_decl): Defer characteristic association for all types except BT_UNKNOWN. * parse.c (decode_specification_statement): Only derived type function matching is delayed to the end of specification. 2008-01-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/34975 * gfortran.dg/use_only_3.f90: New test. * gfortran.dg/use_only_3.inc: Modules for new test. PR fortran/34429 * gfortran.dg/function_charlen_2.f90: New test. From-SVN: r131956
2008-01-30Daily bump.GCC Administrator1-1/+1
From-SVN: r131949
2008-01-30re PR middle-end/34969 (ICE with -fipa-cp -ffast-math)Jakub Jelinek7-4/+88
PR middle-end/34969 * cgraph.h (cgraph_update_edges_for_call_stmt): New prototype. * cgraph.c (cgraph_update_edges_for_call_stmt): New function. * tree-inline.c (fold_marked_statements): Call cgraph_update_edges_for_call_stmt if folding a call statement. * cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for debug_generic_stmt calls, reset it back afterwards. * gcc.dg/pr34969.c: New test. From-SVN: r131946
2008-01-30re PR c/35017 (PR11377 pedwarns even about valid code)Jakub Jelinek7-2/+454
PR c/35017 * c-decl.c (start_decl): Don't pedwarn about TREE_READONLY static decls. * c-typeck.c (build_external_ref): Don't pedwarn about static vars in current function's scope. * gcc.dg/inline-25.c: New test. * gcc.dg/inline-26.c: New test. * gcc.dg/inline-27.c: New test. From-SVN: r131945
2008-01-29Fix 35004, grow tree_code bitfield to 16 bitsMichael Meissner2-2/+9
From-SVN: r131943
2008-01-29* config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation.Joseph Myers2-1/+4
From-SVN: r131942
2008-01-29* sv.po: Update.Joseph Myers2-135/+141
From-SVN: r131941
2008-01-29re PR c/35002 (Incorrect spelling of "hottest")Bernhard Fischer3-9/+15
2008-01-29 Bernhard Fischer <aldot@gcc.gnu.org> PR c/35002 * ipa-struct-reorg.c: Fix spelling. * params.def: Ditto. From-SVN: r131940
2008-01-29re PR tree-optimization/35006 (Segfault in remove_unused_locals with nested ↵Richard Guenther5-4/+57
functions) 2008-01-29 Richard Guenther <rguenther@suse.de> PR middle-end/35006 * tree-inline.h (struct copy_body_data): Add remapping_type_depth field. * tree-inline.c (remap_type): Increment remapping_type_depth around remapping types. (copy_body_r): Only add referenced variables if they are referenced from code, not types. * gcc.c-torture/compile/pr35006.c: New testcase. From-SVN: r131939
2008-01-29re PR c++/34055 (ICE with invalid specialization of variadic template)Douglas Gregor25-71/+256
2008-01-29 Douglas Gregor <doug.gregor@gmail.com> PR c++/34055 PR c++/34103 PR c++/34219 PR c++/34606 PR c++/34753 PR c++/34754 PR c++/34755 PR c++/34919 PR c++/34961 * c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print qualifiers for an ERROR_MARK_NODE or a NULL_TREE. 2008-01-29 Douglas Gregor <doug.gregor@gmail.com> PR c++/34055 PR c++/34103 PR c++/34219 PR c++/34606 PR c++/34753 PR c++/34754 PR c++/34755 PR c++/34919 PR c++/34961 * typeck.c (check_return_expr): Tweak call to check_for_bare_parameter_packs. * class.c (add_method): Be careful with error_mark_nodes. * cp-tree.h (check_for_bare_parameter_packs): Remove "*" from signature. * pt.c (struct find_parameter_pack_data): Remove SET_PACKS_TO_ERROR. (find_parameter_packs_r): Don't use SET_PACKS_TO_ERROR. (uses_parameter_packs): Don't set SET_PACKS_TO_ERROR. (make_pack_expansion): Ditto. (check_for_bare_parameter_packs): Parameter is now a tree, not a tree*. (process_template_parm): Tweak call to check_for_bare_parameter_packs. (push_template_decl_real): Tweak calls to check_for_bare_parameter_packs. If bare parameter packs are found in the list of exceptions, clear out that list after giving an error. * semantics.c (finish_cond): Tweak call to check_for_bare_parameter_packs. (finish_expr_stmt): Ditto. (finish_for_expr): Ditto. (finish_switch_cond): Ditto. (finish_mem_initializers): Ditto. (finish_member_declaration): Ditto. (finish_static_assert): Check for bare parameter packs in the condition. * decl2.c (cplus_decl_attributes): Check for bare parameter packs in the attributes of a declaration. * parser.c (cp_parser_using_declaration): Tweak call to check_for_bare_parameter_packs. (cp_parser_base_clause): Ditto. 2008-01-29 Douglas Gregor <doug.gregor@gmail.com> PR c++/34055 PR c++/34103 PR c++/34219 PR c++/34606 PR c++/34753 PR c++/34754 PR c++/34755 PR c++/34919 PR c++/34961 * g++.dg/cpp0x/vt-34219-2.C: New. * g++.dg/cpp0x/pr32126.C: Tweak expected error messages. * g++.dg/cpp0x/vt-34961.C: New. * g++.dg/cpp0x/vt-34055.C: Tweak error messages; add new test cases from the re-opened PR. * g++.dg/cpp0x/vt-34753.C: New. * g++.dg/cpp0x/vt-34919.C: New. * g++.dg/cpp0x/vt-34754.C: New. * g++.dg/cpp0x/vt-34606.C: New. * g++.dg/cpp0x/vt-34219.C: New. * g++.dg/cpp0x/pr32125.C: Tweak expected error messages. * g++.dg/cpp0x/vt-34755.C: New. * g++.dg/cpp0x/pr31438.C: Ditto. * g++.dg/cpp0x/variadic81.C: Ditto. From-SVN: r131938
2008-01-29pr34641.C: Put the dg-do first.Richard Sandiford2-1/+5
gcc/testsuite/ * g++.dg/torture/pr34641.C: Put the dg-do first. From-SVN: r131937
2008-01-29lazy-binding-1.c: Skip for mips16.Richard Sandiford2-0/+5
gcc/testsuite/ * gcc.target/mips/lazy-binding-1.c: Skip for mips16. From-SVN: r131936
2008-01-29re PR c++/35007 (Firefox fails to build with affentry.cpp:94: error: ISO C++ ↵Jason Merrill3-1/+28
forbids subscripting non-lvalue array) PR c++/35007 * class.c (build_base_path): Fix !want_pointer case. From-SVN: r131931
2008-01-29Daily bump.GCC Administrator1-1/+1
From-SVN: r131928
2008-01-29re PR target/34412 (ICE in extract_insn, at recog.c:1990)Andy Hutchinson2-2/+8
PR target/34412 * config/avr/avr.c (expand_prologue): Use correct QI mode frame pointer for tiny stack. From-SVN: r131923
2008-01-28tree-ssa.texi: Add cindex PHI nodes and improve wording.Bernhard Fischer2-1/+6
2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org> * doc/tree-ssa.texi: Add cindex PHI nodes and improve wording. From-SVN: r131921
2008-01-28vx-common.h: Fix typo in comment.Bernhard Fischer2-1/+5
2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org> * config/vx-common.h: Fix typo in comment. From-SVN: r131920
2008-01-28incomplete1.C: Fix typo in comment.Bernhard Fischer2-1/+5
2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org> * g++.old-deja/g++.pt/incomplete1.C: Fix typo in comment. From-SVN: r131919
2008-01-28re PR c++/34862 (operator new placement variant with reference arg not ↵Ian Lance Taylor3-4/+21
accepted by g++ 4.3) PR c++/34862 PR c++/33407 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't coalesce pointers if they have different DECL_NO_TBAA_P values. * tree-ssa-copy.c (may_propagate_copy): Don't propagate copies between variables with different DECL_NO_TBAA_P values. From-SVN: r131916