aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-05mangle.c (write_expression): Change ABI v6 to v5.Jason Merrill3-7/+11
* mangle.c (write_expression): Change ABI v6 to v5. (write_type): Likewise. From-SVN: r170711
2011-03-06Daily bump.GCC Administrator1-1/+1
From-SVN: r170710
2011-03-06pr47975.c: Add -fno-common option on hppa*-*-hpux*.John David Anglin2-0/+5
* gcc.dg/torture/pr47975.c: Add -fno-common option on hppa*-*-hpux*. From-SVN: r170706
2011-03-05* gennews (files): Add files for GCC 4.6.Joseph Myers2-1/+6
From-SVN: r170704
2011-03-05* gcc.pot: Regenerate.Joseph Myers2-5990/+6304
From-SVN: r170703
2011-03-05* cpplib.pot: Regenerate.Joseph Myers2-60/+64
From-SVN: r170702
2011-03-05Add newlib-stdint.h to moxie-eld config.Anthony Green2-1/+5
From-SVN: r170700
2011-03-05re PR rtl-optimization/47899 (ICE in get_loop_body, at cfgloop.c:831)Zdenek Dvorak4-4/+44
PR rtl-optimization/47899 * cfgloopmanip.c (fix_bb_placements): Fix first argument to flow_loop_nested_p when moving the loop upward. * gcc.dg/pr47899.c: New test. From-SVN: r170699
2011-03-05re PR target/47719 (ICE compiling libavcodec/adxdec.c (FFmpeg) for ARM)Richard Earnshaw2-4/+8
PR target/47719 * arm.md (movhi_insn_arch4): Accept any immediate constant. From-SVN: r170698
2011-03-05Guard against M4 versions with a buggy strstr.Ralf Wildenhues2-0/+12
config/: * override.m4: Error out if a buggy M4 was detected, to avoid spurious diffs in generated files. Co-Authored-By: Eric Blake <eblake@redhat.com> From-SVN: r170697
2011-03-05Daily bump.GCC Administrator1-1/+1
From-SVN: r170696
2011-03-05* gcc.dg/torture/pr47968.c: Ignore warnings.Jakub Jelinek2-1/+3
From-SVN: r170691
2011-03-05re PR tree-optimization/47967 (ICE: verify_stmts failed: conversion of ↵Jakub Jelinek4-14/+68
register to a different size with -fipa-cp on undefined code) PR tree-optimization/47967 * ipa-cp.c (build_const_val): Return NULL instead of creating VIEW_CONVERT_EXPR for mismatching sizes. (ipcp_create_replace_map): Return NULL if build_const_val failed. (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, give up on versioning. * gcc.c-torture/compile/pr47967.c: New test. From-SVN: r170689
2011-03-05re PR target/47986 (gcc.c-torture/execute/20040709-1.c fails with ↵Alan Modra2-7/+19
non-delegitimized UNSPEC) PR target/47986 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle full cmodel medium/large lo_sum + high addresses. From-SVN: r170687
2011-03-04Makefile.am (inst_sources): Make source instantion files conditional.Benjamin Kosnik25-137/+272
2011-03-04 Benjamin Kosnik <bkoz@chula> * src/Makefile.am (inst_sources): Make source instantion files conditional. (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional. * src/Makefile.in: Regenerate. * src/valarray-inst.cc: Move to.. * src/valarray.cc: ...this. * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define. * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it. * configure: Regenerate. * include/Makefile.am (stamp-extern-template): Add. * include/Makefile.in: Regenerate. * doc/xml/manual/configure.xml: Document --enable-extern-template. * include/bits/locale_classes.tcc: Adjust comment. * include/bits/locale_facets.tcc: Same. * include/bits/basic_ios.tcc: Same. * include/bits/istream.tcc: Same. * include/bits/codecvt.h: Same. * include/bits/ostream.tcc: Same. * include/bits/sstream.tcc: Same. * include/bits/c++config: Same. * include/bits/basic_string.tcc: Same. * include/bits/ostream_insert.h: Same. * include/bits/locale_facets_nonio.tcc: Same. * include/bits/streambuf.tcc: Same. * include/bits/allocator.h: Same. * include/bits/fstream.tcc: Same. * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers. From-SVN: r170686
2011-03-04s390.c (s390_decompose_address): Reject non-literal pool references in ↵Andreas Krebbel2-0/+15
UNSPEC_LTREL_OFFSET. 2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_decompose_address): Reject non-literal pool references in UNSPEC_LTREL_OFFSET. From-SVN: r170685
2011-03-04In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com>Nicola Pero3-8/+11
In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com> * objc.dg/property/property-encoding-1.m: Tidied up testcase. * obj-c++.dg/property/property-encoding-1.mm: Likewise. From-SVN: r170684
2011-03-04PR 47802 Use builtins to check localtime_r return typeJanne Blomqvist2-3/+14
From-SVN: r170683
2011-03-04re PR lto/47497 (SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin ↵Jan Hubicka9-20/+52
-fwhole-program) PR lto/47497 * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias. (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here. * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): Add node pointers. * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias, cgraph_add_thunk): Add node pointers. * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are associated to right node. (input_node): Update use of cgraph_same_body_alias and cgraph_add_thunk. * optimize.c (maybe_clone_body): Update call of cgraph_same_body_alias and cgraph_add_thunk. * method.c (make_alias_for_thunk, use_thunk): Likewise. * mangle.c (mangle_decl): Likewise. From-SVN: r170682
2011-03-04Introduce flag -mprefer-avx128 for the auto-vectorizer to generate only ↵Changpeng Fang3-2/+12
128-bit avx insns. * config/i386/i386.opt (mprefer-avx128): New flag. * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit mode when the flag -mprefer-avx128 is on. From-SVN: r170681
2011-03-04PR 47802 Hack to work around draft POSIX localtime_rJanne Blomqvist2-3/+13
From-SVN: r170680
2011-03-04PR 47802 Update doc for CTIME and FDATE intrinsicsJanne Blomqvist2-13/+24
From-SVN: r170679
2011-03-04In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com>Nicola Pero5-32/+460
In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com> * objc.dg/gnu-api-2-property.m: Added tests for property_getName() and property_getAttributes() if __OBJC2__. * obj-c++.dg/gnu-api-2-property.mm: Likewise. * objc.dg/property/property-encoding-1.m: New. * obj-c++.dg/property/property-encoding-1.mm: New. From-SVN: r170678
2011-03-04re PR c++/47971 (ICE: in tsubst_copy, at cp/pt.c:11725 on valid code)Jason Merrill4-2/+19
PR c++/47971 * pt.c (tsubst_copy_and_build) [PSEUDO_DTOR_EXPR]: Use tsubst for type. (tsubst_copy) [default]: Just return t if !ENABLE_CHECKING. From-SVN: r170677
2011-03-04re PR c++/46220 (Error: invalid covariant return type generated for ↵Jason Merrill4-4/+34
incomplete class type and different qualifer) PR c++/46220 * search.c (check_final_overrider): Allow pointer to same incomplete class type with different cv-quals. From-SVN: r170676
2011-03-04dwarf2out.c (compare_loc_operands): Fix address handling.Richard Sandiford2-1/+5
gcc/ * dwarf2out.c (compare_loc_operands): Fix address handling. From-SVN: r170675
2011-03-04tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment.Alan Modra2-2/+5
* tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. From-SVN: r170674
2011-03-04re PR middle-end/47968 (ICE: in gen_lowpart_general, at rtlhooks.c:51 when ↵Richard Guenther4-3/+23
converting vector of double to vector of float) 2011-03-04 Richard Guenther <rguenther@suse.de> PR middle-end/47968 * expmed.c (extract_bit_field_1): Prefer vector modes that vec_extract patterns can handle. * gcc.dg/torture/pr47968.c: New testcase. From-SVN: r170673
2011-03-04re PR target/47975 (ICE: in expand_shift, at expmed.c:2299 when using 256b ↵Richard Guenther4-4/+23
vectors without -mavx) 2011-03-04 Richard Guenther <rguenther@suse.de> PR middle-end/47975 * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P. * gcc.dg/torture/pr47975.c: New testcase. From-SVN: r170672
2011-03-04Daily bump.GCC Administrator1-1/+1
From-SVN: r170669
2011-03-03explow.c (emit_stack_save): Remove 'after' parameter.Richard Henderson12-71/+51
* explow.c (emit_stack_save): Remove 'after' parameter. (emit_stack_restore): Likewise. * expr.h: Update to match. * builtins.c, calls.c, stmt.c: Likewise. * config/alpha/alpha.md, config/avr/avr.md: Likewise. * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise. * function.c (expand_function_end): Insert the emit_stack_save sequence before parm_birth_insn instead of after. From-SVN: r170663
2011-03-03sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.Uros Bizjak2-10/+15
* config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX. (ssse3_pmaddubsw128): Ditto. (ssse3_pmaddubsw): Ditto. From-SVN: r170661
2011-03-03t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEHSteve Ellcey2-1/+5
2011-03-03 Steve Ellcey <sje@cup.hp.com> * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH From-SVN: r170659
2011-03-03re PR c++/47974 (ICE: tree check: expected tree_vec, have error_mark in ↵Paolo Carlini4-3/+30
tsubst_template_args, at cp/pt.c:8969 on invalid code) /cp 2011-03-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/47974 * pt.c (tsubst_template_args): Check argument t for error_mark_node. /testsuite 2011-03-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/47974 * g++.dg/template/crash106.C: New. From-SVN: r170658
2011-03-03re PR c++/47950 ([C++0x] Internal compiler error: non-dependent declaration ↵Jason Merrill2-1/+10
as condition causes tsubst_copy_and_build assertion failure.) PR c++/47950 * pt.c (tsubst_copy_and_build) [TARGET_EXPR]: Retain TREE_CONSTANT. From-SVN: r170656
2011-03-03re PR c/47963 (ICE: tree check: expected tree that contains 'decl common' ↵Jakub Jelinek5-2/+35
structure, have 'integer_cst' in is_global_var, at tree-flow-inline.h:599 on invalid code with -fopenmp) PR c/47963 * gimplify.c (omp_add_variable): Only call omp_notice_variable on TYPE_SIZE_UNIT if it is a DECL. * gcc.dg/gomp/pr47963.c: New test. * g++.dg/gomp/pr47963.C: New test. From-SVN: r170655
2011-03-03re PR debug/47283 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c)Jakub Jelinek2-0/+20
PR debug/47283 * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF first operand is not is_gimple_mem_ref_addr, try to fold it. If the operand still isn't is_gimple_mem_ref_addr, clear MEM_EXPR on op0. From-SVN: r170654
2011-03-03re PR debug/47283 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c)Richard Guenther2-1/+14
2011-03-03 Richard Guenther <rguenther@suse.de> PR middle-end/47283 * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code match comment. (refs_may_alias_p_1): For release branches return true if we are confused by our input. From-SVN: r170650
2011-03-03s390.c (s390_function_value): Rename to ...Andreas Krebbel4-21/+53
2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_function_value): Rename to ... (s390_function_and_libcall_value): ... this. (s390_function_value): New function. (s390_libcall_value): New function. (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks. * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove target macro definitions. * config/s390/s390-protos.h (s390_function_value): Remove prototype. From-SVN: r170649
2011-03-03Don't crash if erroneous type was not converted.Ian Lance Taylor1-1/+6
From-SVN: r170646
2011-03-03Don't crash on large composite literal array index.Ian Lance Taylor1-0/+26
From-SVN: r170645
2011-03-03Don't crash calling make with NaN or Infinity.Ian Lance Taylor1-1/+1
From-SVN: r170644
2011-03-03Make sure variable type is determined when var initialized to var.Ian Lance Taylor5-11/+25
From-SVN: r170643
2011-03-03Don't crash getting type descriptor of abstract types.Ian Lance Taylor1-4/+9
From-SVN: r170642
2011-03-03docs: fix typos and markup nits in Fortran manual.Ralf Wildenhues2-12/+20
gcc/fortran/: * invoke.texi (Option Summary, Fortran Dialect Options) (Preprocessing Options, Runtime Options, Code Gen Options): Fix vertical list spacing by using @itemx for additinoal items, empty line before @table. Fix typos. From-SVN: r170641
2011-03-03Don't look for methods on named pointer types.Ian Lance Taylor1-3/+1
From-SVN: r170640
2011-03-02re PR c++/47950 ([C++0x] Internal compiler error: non-dependent declaration ↵Jason Merrill4-3/+85
as condition causes tsubst_copy_and_build assertion failure.) PR c++/47950 * parser.c (cp_parser_condition): Don't fold_non_dependent_expr here. From-SVN: r170639
2011-03-02re PR c++/47774 ([C++0x] constexpr specifier on ctor not ignored when ↵Jason Merrill6-46/+100
template instantiation causes ctor to not satify constexpr requirements) PR c++/47774 * tree.c (build_vec_init_elt): Split out from... (build_vec_init_expr): ...here. (diagnose_non_constexpr_vec_init): New fn. * semantics.c (potential_constant_expression_1): Use it. * cp-tree.h: Declare it. From-SVN: r170638
2011-03-03Determine call types even if first call result is not used.Ian Lance Taylor2-6/+31
From-SVN: r170637
2011-03-03Don't crash declaring a function named "_".Ian Lance Taylor1-5/+8
From-SVN: r170636