- 13 Dec, 2011 16 commits
-
-
2011-12-13 Martin Jambor <mjambor@suse.cz> PR middle-end/50628 * tree-sra.c (propagate_subaccesses_across_link): Do not propagate sub-accesses of scalar accesses. From-SVN: r182289
Martin Jambor committed -
re PR tree-optimization/51362 (ICE: SIGFPE (division by zero) in good_cloning_opportunity_p at ipa-cp.c:2401) 2011-12-13 Martin Jambor <mjambor@suse.cz> PR tree-optimization/51362 * ipa-cp.c (estimate_local_effects): When estimated size of a specialized clone is zero, bump it to one. * testsuite/gcc.dg/ipa/pr51362.c: New test. From-SVN: r182288
Martin Jambor committed -
PR testsuite/51524 * gcc.target/i386/bmi2-mulx32-1.c (gen_mulx): Add attribute regparm(2). * gcc.target/i386/bmi2-mulx32-2.c (calc_mulx_u32): Ditto. From-SVN: r182287
Uros Bizjak committed -
2011-12-13 Richard Guenther <rguenther@suse.de> PR lto/48354 * tree.c (find_decls_types_r): Also walk DECL_ORIGINAL_TYPE. * tree-streamer-in.c (lto_input_ts_decl_non_common_tree_pointers): Stream DECL_ORIGINAL_TYPE. * tree-streamer-out.c (write_ts_decl_non_common_tree_pointers): Likewise. lto/ * lto.c (lto_ft_decl_non_common): When we merged DECL_ORIGINAL_TYPE with the type of the TYPE_DECL clear DECL_ORIGINAL_TYPE. * g++.dg/lto/pr48354-1_0.C: New testcase. From-SVN: r182286
Richard Guenther committed -
From-SVN: r182285
Michael Matz committed -
2011-12-12 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/51481 * gimple-fold.c (gimple_fold_call): Call maybe_clean_or_replace_eh_stmt. Avoid optimization if stmt has EH edges, but gimple_fold_builtin result can't throw. From-SVN: r182284
Jakub Jelinek committed -
PR tree-optimization/51117 * tree-eh.c (sink_clobbers): New function. (execute_lower_eh_dispatch): Call it for BBs ending with internally throwing RESX. * cfgexpand.c (add_scope_conflicts_1): Add all conflicts only at the first real instruction. Co-Authored-By: Michael Matz <matz@suse.de> From-SVN: r182283
Jakub Jelinek committed -
2011-12-13 Tristan Gingold <gingold@adacore.com> * final.c (final_scan_insn): Guard the call to begin_epilogue debug hook. From-SVN: r182282
Tristan Gingold committed -
2011-12-13 Tristan Gingold <gingold@adacore.com> * vmsdbgout.c (vmsdbgout_write_source_line): New function. (vmsdbgout_end_prologue): Call vmsdbgout_write_source_line. (vmsdbgout_begin_epilogue): Likewise. (vmsdbgout_end_epilogue): Likewise. (vmsdbgout_source_line): Move code to vmsdbgout_write_source_line. From-SVN: r182281
Tristan Gingold committed -
2011-12-13 Richard Guenther <rguenther@suse.de> PR middle-end/51481 * tree-cfg.c (replace_uses_by): Pass proper arguments to maybe_clean_or_replace_eh_stmt. From-SVN: r182280
Richard Guenther committed -
re PR tree-optimization/51519 (ICE: in inline_small_functions, at ipa-inline.c:1410 with -O -fno-guess-branch-probability -findirect-inlining) 2011-12-13 Richard Guenther <rguenther@suse.de> PR tree-optimization/51519 * ipa-inline.c (edge_badness): Use edge growth in non-guessed branch probability case as well. * gcc.dg/pr51519.c: New testcase. From-SVN: r182279
Richard Guenther committed -
2011-12-13 Richard Guenther <rguenther@suse.de> * gcc.dg/lto/20111213-1_0.c: New testcase. From-SVN: r182278
Richard Guenther committed -
* gnat.dg/vect1.ad[sb]: Add more tests. * gnat.dg/vect2.ad[sb]: Likewise. * gnat.dg/vect3.ad[sb]: Likewise. * gnat.dg/vect4.ad[sb]: Likewise. * gnat.dg/vect5.ad[sb]: Likewise. * gnat.dg/vect6.ad[sb]: Likewise. From-SVN: r182276
Eric Botcazou committed -
PR ada/49084 * types.h (Byte): Change typedef to 'unsigned char'. * atree.h (struct Flag_Word): Use Byte for 'convention' field. From-SVN: r182275
Cesar Strauss committed -
From-SVN: r182271
Revital Eres committed -
From-SVN: r182270
GCC Administrator committed
-
- 12 Dec, 2011 24 commits
-
-
From-SVN: r182266
Ian Lance Taylor committed -
re PR rtl-optimization/51495 (ICE: in force_nonfallthru_and_redirect, at cfgrtl.c:1171 with computed goto) PR rtl-optimization/51495 * function.c (thread_prologue_and_epilogue_insns): Don't add to bb_tail basic blocks that have EDGE_COMPLEX predecessor edges from basic blocks not needing prologue. * gcc.c-torture/compile/pr51495.c: New test. From-SVN: r182265
Jakub Jelinek committed -
PR tree-optimization/51481 * gimple-fold.c (gimple_fold_call): Call maybe_clean_or_replace_eh_stmt. Avoid optimization if stmt has EH edges, but gimple_fold_builtin result can't throw. * gcc.dg/pr51481.c: New test. From-SVN: r182264
Jakub Jelinek committed -
2011-12-12 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/21617 * ira-color.c (bucket_allocno_compare_func): Don't compare allocno classes. Compare number of hard registers needed. From-SVN: r182263
Vladimir Makarov committed -
PR tree-optimization/45830 * gcc.c-torture/execute/pr45830.c: Move from here to... * gcc.dg/torture/pr45830.c: ...this new file. Add dg-do and dg-additional-options magic. From-SVN: r182262
Georg-Johann Lay committed -
2011-12-12 Janne Blomqvist <jb@gcc.gnu.org> * gfortran.dg/nested_modules_2.f90: Tighten test. From-SVN: r182258
Janne Blomqvist committed -
PR c++/51496 * parser.c (cp_parser_omp_for_loop): When determining whether to use cp_parser_omp_for_incr or cp_parser_expression and when calling cp_parser_omp_for_incr, use real_decl instead of decl. From-SVN: r182257
Jakub Jelinek committed -
From-SVN: r182256
Ian Lance Taylor committed -
PR tree-optimization/50569 * tree-sra.c (build_ref_for_model): Replicate a chain of COMPONENT_REFs in the expression of MODEL instead of just the last one. From-SVN: r182252
Eric Botcazou committed -
* cgraphunit.c (init_lowered_empty_function): Fix flags for new edges. From-SVN: r182251
Dmitry Vyukov committed -
2011-12-12 Paolo Carlini <paolo.carlini@oracle.com> Revert: 2011-12-12 Kai Tietz <ktietz@redhat.com> PR libstdc++/51135 * libsupc++/cxxabi.h (__cxa_dtor_type): New type. (__cxa_throw): Use it for destructor-argument. * libsupc++/eh_throw.cc (__cxa_throw): Likewise. * libsupc++/unwind-cxx.h (__cxa_exception): Change type of member exceptionDestructor to __cxa_dtor_type. * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_THISCALL_ON_DTOR): Define. (__cxa_dtor_type): Declare target secific type variant. * config/os/mingw32/os_defines.h: Likewise. From-SVN: r182250
Paolo Carlini committed -
* Revert the last commit. From-SVN: r182249
Paolo Carlini committed -
PR testsuite/51511 * gcc.dg/pr45819.c: Add -w to dg-options. From-SVN: r182247
Jakub Jelinek committed -
re PR middle-end/51510 (gcc for arm-linux-gnueabi ICEs on gcc.c-torture/execute/20050713-1.c due to PR50074+PR51323 fix) PR middle-end/51510 * calls.c (internal_arg_pointer_based_exp_scan): Don't use VEC_safe_grow_cleared if idx is smaller than VEC_length. From-SVN: r182246
Jakub Jelinek committed -
gcc/ PR middle-end/50873 * optabs.c (maybe_legitimize_operand_same_code): Use copy_to_mode_reg instead of force_reg. Do nothing if the address is already a non-virtual pseudo register. From-SVN: r182244
Richard Sandiford committed -
2011-12-12 Robert Dewar <dewar@adacore.com> * s-taprop-mingw.adb: Minor reformatting. 2011-12-12 Nicolas Roche <roche@adacore.com> * gcc-interface/Make-lang.in: Update dependencies. Add gnattools4 target when building tools in canadian mode 2011-12-12 Javier Miranda <miranda@adacore.com> * exp_disp.adb (Make_VM_TSD): Complete previous patch. 2011-12-12 Bob Duff <duff@adacore.com> * s-tpobop.adb: Use named notation. * g-bytswa.ads, s-taprop.ads: Minor comment fix. 2011-12-12 Arnaud Charlet <charlet@adacore.com> * make.adb: Minor comment update. From-SVN: r182242
Arnaud Charlet committed -
2011-12-12 Robert Dewar <dewar@adacore.com> * freeze.adb, s-taprop-mingw.adb, exp_disp.adb, sem_ch13.adb: Minor reformatting. From-SVN: r182241
Robert Dewar committed -
2011-12-12 Robert Dewar <dewar@adacore.com> * sem_ch6.adb, gnatls.adb: Minor reformatting. 2011-12-12 Ed Schonberg <schonberg@adacore.com> * freeze.adb (Freeze_Entity): If a type declared in a generic context has predicates, generate a freeze node for it. * sem_ch13.adb (Check_Aspect_At_End_Of_Declarations): If expression has not been analyzed yet, entity has not been frozen, so analyze it now. 2011-12-12 Javier Miranda <miranda@adacore.com> * exp_disp.adb (Make_VM_TSD): Generate code to store the value 'alignment in the TSD. 2011-12-12 Bob Duff <duff@adacore.com> * s-taprop-mingw.adb (Yield): Do not delay 1 millisecond in Annex D mode. From-SVN: r182240
Arnaud Charlet committed -
exp_ch4.adb (Expand_N_Allocator): Update the master of an anonymous access-to-controlled type to utilize the... 2011-12-12 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch4.adb (Expand_N_Allocator): Update the master of an anonymous access-to-controlled type to utilize the heterogeneous master associated with the current unit. From-SVN: r182239
Hristian Kirtchev committed -
PR libstdc++/51135 * libsupc++/cxxabi.h (__cxxabi_dtor_type): New type. (__cxa_throw): Use it for destructor-argument. * libsupc++/eh_throw.cc (__cxa_throw): Likewise. * libsupc++/unwind-cxx.h (__cxa_exception): Change type of member exceptionDestructor to __cxxabi_dtor_type. * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_THISCALL_ON_DTOR): Define. (__cxa_dtor_type): Declare target secific type variant. * config/os/mingw32/os_defines.h: Likewise. From-SVN: r182238
Kai Tietz committed -
* libsupc++/cxxabi.h (__cxxabi_dtor_type): New type. (__cxa_throw): Use it for destructor-argument. * libsupc++/eh_throw.cc (__cxa_throw): Likewise. * libsupc++/unwind-cxx.h (__cxa_exception): Change type of member exceptionDestructor to __cxxabi_dtor_type. * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_THISCALL_ON_DTOR): Define. (__cxa_dtor_type): Declare target secific type variant. * config/os/mingw32/os_defines.h: Likewise. From-SVN: r182237
Kai Tietz committed -
2011-12-12 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Analyze_Expression_Function): If the function is not a completion, pre-analyze the expression now to prevent spurious visibility on later entities. The body is inserted at the end of the current declaration list or package to prevent early freezing, but the visibility is established at the point of definition. 2011-12-12 Bob Duff <duff@adacore.com> * sem.adb, sem.ads: Add debugging routines. 2011-12-12 Tristan Gingold <gingold@adacore.com> * gnatls.adb: (gnatls): Also add the objects dir in search list. From-SVN: r182235
Arnaud Charlet committed -
gcc/cp/ * semantics.c (finish_transaction_stmt, build_transaction_expr): Accept new noexcept parameter and handle it. * cp-tree.h (finish_transaction_stmt, build_transaction_expr): Adapt declarations. * parser.c (cp_parser_exception_specification_opt): Extract noexcept-specification parsing to ... (cp_parser_noexcept_specification_opt): ...here. Allow for parsing non-constexpr noexcept arguments. (cp_parser_transaction, cp_parser_transaction_expression): Parse and handle noexcept-specifications. (cp_parser_function_transaction): Adapt to finish_transaction_stmt change. * pt.c (tsubst_expr): Adapt to new noexcept parameters when building transactions. gcc/testsuite/ * g++.dg/tm/noexcept-1.C: New test. * g++.dg/tm/noexcept-2.C: New test. * g++.dg/tm/noexcept-3.C: New test. * g++.dg/tm/noexcept-4.C: New test. * g++.dg/tm/noexcept-5.C: New test. From-SVN: r182234
Torvald Riegel committed -
gcc/cp/ * cp-tree.def (MUST_NOT_THROW_EXPR): Add condition parameter. * cp-tree.h (MUST_NOT_THROW_COND): New. (build_must_not_throw_expr): Declare. * dump.c (cp_dump_tree): Dump MUST_NOT_THROW_EXPR condition. * except.c (build_must_not_throw_expr): New. (initialize_handler_parm): Use it. (begin_eh_spec_block, wrap_cleanups_r): Adapt to condition. * pt.c (tsubst_expr): Handle MUST_NOT_THROW_EXPR. From-SVN: r182233
Torvald Riegel committed
-