- 08 Dec, 2011 13 commits
-
-
* gcc.target/i386/movdi-rex64.c: New. From-SVN: r182119
Teresa Johnson committed -
tree-ssa-operands.c (add_stmt_operand): Do not mark stmts volatile when processing operands of an ADDR_EXPR. 2011-12-08 Richard Guenther <rguenther@suse.de> * tree-ssa-operands.c (add_stmt_operand): Do not mark stmts volatile when processing operands of an ADDR_EXPR. (get_indirect_ref_operands): Likewise. (get_tmr_operands): Likewise. (get_expr_operands): Likewise. * gcc.dg/volatile3.c: New testcase. From-SVN: r182117
Richard Guenther committed -
2011-12-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> PR target/50395 * config/s390/s390.c (s390_mainpool_finish): Emit the jump over the literal pool as jump insn. From-SVN: r182116
Andreas Krebbel committed -
* gcc.c-torture/execute/20111208-1.c (int16_t): Use __INT16_TYPE__ for typedef. (int32_t): Use __INT32_TYPE__ for typedef. PR tree-optimization/51315 From-SVN: r182115
Georg-Johann Lay committed -
re PR tree-optimization/49772 (ICE: in ipa_pta_execute, at tree-ssa-structalias.c:6790 with -fipa-pta) 2011-12-08 Richard Guenther <rguenther@suse.de> PR tree-optimization/49772 * tree-inline.c (optimize_inline_calls): Remove bail out on errors. From-SVN: r182110
Richard Guenther committed -
PR tree-optimization/51315 * gcc.c-torture/execute/20111208-1.c: Fix wrong assumption sizeof(int)==4. From-SVN: r182109
Georg-Johann Lay committed -
2011-12-08 Richard Guenther <rguenther@suse.de> PR lto/50747 * lto-streamer-out.c (produce_symtab): Remove asserts. * g++.dg/opt/pr50747-1_0.C: New testcase. * g++.dg/opt/pr50747-2_0.C: Likewise. From-SVN: r182108
Richard Guenther committed -
2011-12-08 Richard Guenther <rguenther@suse.de> PR lto/49945 * lto-streamer-out.c (tree_is_indexable): Localize variably modified types and their FIELD_DECLs. From-SVN: r182107
Richard Guenther committed -
* include/bits/atomic_base.h (__calculate_memory_order): Rename to... (__cmpexch_failure_order): This, and rewrite as constexpr function. (compare_exchange_strong, compare_exchange_weak): Use it. * include/std/atomic (compare_exchange_strong, compare_exchange_weak): Likewise. From-SVN: r182105
Jonathan Wakely committed -
PR tree-optimization/51315 * tree.h (get_object_or_type_alignment): Declare. * expr.c (get_object_or_type_alignment): Move to... * builtins.c (get_object_or_type_alignment): ...here. Add assertion. * tree-sra.c (tree_non_mode_aligned_mem_p): Rename to... (tree_non_aligned_mem_p): ...this. Add ALIGN parameter. Look into MEM_REFs and use get_object_or_type_alignment for them. (build_accesses_from_assign): Adjust for above change. (access_precludes_ipa_sra_p): Likewise. From-SVN: r182102
Eric Botcazou committed -
2011-12-08 Richard Guenther <rguenther@suse.de> PR lto/48437 * lto-streamer-out.c (tree_is_indexable): Exclude block-local extern declarations. * gcc.dg/lto/20111207-2_0.c: New testcase. * gcc.dg/guality/pr48437.c: Likewise. From-SVN: r182100
Richard Guenther committed -
PR c++/51401 * decl.c (grokdeclarator): Error for auto on non-static data members. * g++.dg/cpp0x/auto7.C: Adjust expected error message. * g++.dg/cpp0x/auto29.C: New test. From-SVN: r182097
Jakub Jelinek committed -
From-SVN: r182096
GCC Administrator committed
-
- 07 Dec, 2011 16 commits
-
-
2011-12-07 Andrew Pinski <apinski@cavium.com> PR libffi/50051 * src/mips/n32.S: Add ".set mips4". From-SVN: r182092
Andrew Pinski committed -
2011-12-07 Andrew Pinski <apinski@cavium.com> * src/mips/n32.S: Add ".set mips4". From-SVN: r182091
Andrew Pinski committed -
PR bootstrap/50237 * internal.h (_cpp_init_lexer): New prototype. * init.c (init_library): Call it. * lex.c (init_vectorized_lexer): Remove constructor attribute, add inline keyword. (HAVE_init_vectorized_lexer): Define. (_cpp_init_lexer): New function. From-SVN: r182090
Jakub Jelinek committed -
PR c++/51429 * typeck2.c (cxx_incomplete_type_diagnostic): Don't ICE if TREE_OPERAND (value, 1) is overloaded. * g++.dg/parse/error45.C: New test. From-SVN: r182089
Jakub Jelinek committed -
re PR c++/51229 ([C++0x] [4.7 Regression] Broken diagnostic: 'integer_cst' not supported by dump_dec) PR c++/51229 * decl.c (reshape_init_class): Complain if d->cur->index is INTEGER_CST. * parser.c (cp_parser_initializer_list): If cp_parser_parse_definitely fails, clear designator. * g++.dg/ext/desig3.C: New test. From-SVN: r182088
Jakub Jelinek committed -
PR c++/51369 * init.c (build_value_init): Allow array types even when processing_template_decl. * g++.dg/cpp0x/constexpr-51369.C: New test. From-SVN: r182086
Jakub Jelinek committed -
2011-12-07 François Dumont <fdumont@gcc.gnu.org> PR libstdc++/51386 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt): Fix computation of _M_prev_resize so that hashtable do not keep on being rehashed when _M_max_load_factor is lower than 1. From-SVN: r182085
François Dumont committed -
2011-12-07 Andrew Pinski <apinski@cavium.com> PR middle-end/45416 * expr.c (do_store_flag): Rewrite code that looks for BIT_AND_EXPR for SSA-expand. 2011-12-07 Andrew Pinski <apinski@cavium.com> PR middle-end/45416 * gcc.dg/pr45416.c: New testcase. From-SVN: r182084
Andrew Pinski committed -
PR c++/51420 * parser.c (lookup_literal_operator): Check that declaration is an overloaded function. From-SVN: r182083
Ed Smith-Rowland committed -
re PR lto/48100 (Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects) 2011-12-07 Richard Guenther <rguenther@suse.de> PR lto/48100 * gcc.dg/lto/20111207-1_0.c: New testcase. * gcc.dg/lto/20111207-1_1.c: Likewise. * gcc.dg/lto/20111207-1_2.c: Likewise. * gcc.dg/lto/20111207-1_3.c: Likewise. From-SVN: r182082
Richard Guenther committed -
2011-12-07 Richard Guenther <rguenther@suse.de> PR tree-optimization/50823 * ipa-inline.c (edge_badness): Do not account for the number of remaining calls. * gcc.dg/torture/pr50823.c: New testcase. From-SVN: r182077
Richard Guenther committed -
2011-12-07 Martin Jambor <mjambor@suse.cz> PR tree-optimization/50744 * ipa-cp.c (good_cloning_opportunity_p): Assert size_cost is positive, compute evaluation in HOST_WIDEST_INT. (safe_add): New function (propagate_effects): Use safe_add to accumulate effects. * testsuite/gcc.dg/ipa/pr50744.c: New test. From-SVN: r182076
Martin Jambor committed -
From-SVN: r182075
Ian Lance Taylor committed -
From-SVN: r182074
Ian Lance Taylor committed -
From-SVN: r182073
Ian Lance Taylor committed -
From-SVN: r182072
GCC Administrator committed
-
- 06 Dec, 2011 11 commits
-
-
2011-12-06 Joel Sherrill <joel.sherrill@oarcorp.com> * config/rs6000/rtems.h: Switch to using global_options_set in SUBSUBTARGET_OVERRIDE_OPTIONS. From-SVN: r182068
Joel Sherrill committed -
* config/sparc/visintrin.h: Add appropriate __VIS__ cpp protection. From-SVN: r182067
David S. Miller committed -
2011-12-06 Andrew Pinski <apinski@cavium.com> * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the size of func_ptr. (__frame_dummy_init_array_entry): Likewise. From-SVN: r182066
Andrew Pinski committed -
* gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS [windows targets]): Correctly detect cygwin, which no longer has the '32' suffix, and use appropriate implementations of the sockets and memory packages. * sysdep.c (WIN_SETMODE): New define to choose the correct spelling of setmode/_setmode for MinGW and Cygwin, respectively. (__gnat_set_binary_mode [windows targets]): Use the above, and enable the windows version for Cygwin as well as MinGW. (__gnat_set_text_mode [windows targets]): Likewise. (__gnat_ttyname [windows targets]): Provide a Cygwin implementation in addition to the MinGW version. (__gnat_is_windows_xp): Make available to Cygwin as well as MinGW. (__gnat_get_stack_bounds): Likewise. From-SVN: r182065
Dave Korn committed -
re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/51438 * libsupc++/nested_exception.h (nested_exception::~nested_exception): Declare noexcept. * libsupc++/nested_exception.cc: Adjust. * testsuite/18_support/nested_exception/51438.cc: New. * testsuite/18_support/nested_exception/throw_with_nested.cc: Adjust. * testsuite/18_support/nested_exception/rethrow_if_nested.cc: Likewise. * src/shared_ptr.cc: Use noexcept where appropriate. * include/std/system_error: Likewise. * include/std/functional: Likewise. * include/bits/shared_ptr_base.h: Likewise. * src/stdexcept.cc: Use _GLIBCXX_USE_NOEXCEPT where appropriate. * include/std/stdexcept: Likewise. * libsupc++/bad_cast.cc: Likewise. * libsupc++/bad_typeid.cc: Likewise. * libsupc++/eh_exception.cc: Likewise. * libsupc++/typeinfo: Likewise. * libsupc++/exception: Likewise. * libsupc++/eh_ptr.cc: Likewise. * libsupc++/bad_alloc.cc: Likewise. * libsupc++/exception_ptr.h: Likewise. * include/std/chrono: Use noexcept where appropriate. * src/chrono.cc: Likewise. From-SVN: r182064
Paolo Carlini committed -
PR c++/51430 * pt.c (tsubst_decl): Don't call strip_array_domain on error_mark_node. * g++.dg/template/static32.C: New test. From-SVN: r182063
Jakub Jelinek committed -
* g++.dg/opt/pr51396.C: Use dg-additional-options. From-SVN: r182061
Uros Bizjak committed -
From Rainer Orth. From-SVN: r182060
Ian Lance Taylor committed -
2011-12-06 Tobias Burnus <burnus@net-b.de> PR fortran/51435 * expr.c (gfc_has_default_initializer): Fix handling of DT with initialized pointer components. 2011-12-06 Tobias Burnus <burnus@net-b.de> PR fortran/51435 * gfortran.dg/default_initialization_5.f90: New. From-SVN: r182059
Tobias Burnus committed -
* config/avr/avr.c (avr_file_start): Fix missing , From-SVN: r182058
Georg-Johann Lay committed -
PR target/51354 * config/i386/i386.c (ix86_emit_leave): Call ix86_add_cfa_restore_note unconditionally. * gcc.c-torture/compile/pr51354.c: New test. From-SVN: r182056
Jakub Jelinek committed
-