1. 03 Apr, 2013 7 commits
    • simplify-rtx.c (simplify_binary_operation_1): Handle VEC_MERGE. · da694a77
      2013-04-03  Marc Glisse  <marc.glisse@inria.fr>
      
      gcc/
      	* simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>:
      	Handle VEC_MERGE.
      	(simplify_ternary_operation) <VEC_MERGE>: Use unsigned HOST_WIDE_INT
      	for masks. Test for side effects. Handle nested VEC_MERGE. Handle
      	equal arguments.
      
      gcc/testsuite/
      	* gcc.target/i386/merge-1.c: New testcase.
      	* gcc.target/i386/avx2-vpblendd128-1.c: Make it non-trivial.
      
      From-SVN: r197394
      Marc Glisse committed
    • re PR c/19449 (__builtin_constant_p cannot resolve to const when optimizing) · 4e7d7b3d
      	PR c/19449
      	* tree.h (force_folding_builtin_constant_p): New decl.
      	* builtins.c (force_folding_builtin_constant_p): New variable.
      	(fold_builtin_constant_p): Fold immediately also if
      	force_folding_builtin_constant_p.
      
      	* c-parser.c (c_parser_get_builtin_args): Add choose_expr_p
      	argument.  If set, or it temporarily for parsing of the first
      	argument into force_folding_builtin_constant_p.
      	(c_parser_postfix_expression): Adjust callers.
      
      	* gcc.c-torture/execute/pr19449.c: New test.
      
      From-SVN: r197393
      Jakub Jelinek committed
    • re PR tree-optimization/56812 (Simple loop is not SLP-vectorized after r196872) · e6c9d234
      2013-04-03  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/56812
      	* tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence):
      	DRs of the same interleaving chain are independent.
      
      	* g++.dg/vect/slp-pr56812.cc: New testcase.
      
      From-SVN: r197390
      Richard Biener committed
    • re PR fortran/56284 ([OOP] ICE with alternate return in type-bound procedure) · 9362a03b
      2013-04-03  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/56284
      	PR fortran/40881
      	* decl.c (gfc_match_formal_arglist): Warn about alternate-return
      	arguments.
      	* interface.c (check_dummy_characteristics): Return if symbols are NULL.
      
      2013-04-03  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/56284
      	PR fortran/40881
      	* gfortran.dg/altreturn_8.f90: New.
      	* gfortran.dg/altreturn_2.f90: Add -std=legacy.
      	* gfortran.dg/intrinsic_actual_3.f90: Ditto.
      	* gfortran.dg/invalid_interface_assignment.f90: Ditto.
      
      From-SVN: r197389
      Janus Weil committed
    • re PR c++/56821 (Unable to overload with references to 'this'.) · e0f0935b
      	PR c++/56821
      	* mangle.c (write_function_type): Mangle ref-qualifier.
      	(write_nested_name): Likewise.
      	(canonicalize_for_substitution): Preserve ref-qualifier.
      	(write_type): Likewise.
      
      From-SVN: r197386
      Jason Merrill committed
    • Daily bump. · fd541994
      From-SVN: r197384
      GCC Administrator committed
    • exception (get_terminate(), [...]): Declare. · dca77a8a
      	* libsupc++/exception (get_terminate(), get_unexpected()): Declare.
      	* libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
      	Define.
      	(set_terminate(terminate_handler)): Set atomically.
      	(set_unexpected(terminate_handler)): Likewise.
      	* libsupc++/new (get_new_handler()): Declare.
      	* libsupc++/new_handler.cc (get_new_handler()): Define.
      	(set_new_handler(new_handler)): Set atomically.
      	(__new_handler): Use internal linkage.
      	* libsupc++/new_op.cc (operator new): Use get_new_handler().
      	* libsupc++/new_opnt.cc (operator new): Likewise.
      	* acinclude.m4: Bump libtool_VERSION to 6:19:0.
      	* configure: Regenerate.
      	* libsupc++/Makefile.am: Compile above files with -std=gnu++11.
      	* libsupc++/Makefile.in: Regenerate.
      	* config/abi/pre/gnu.ver: Add new exports.
      	* doc/xml/manual/status_cxx2011.xml: Update.
      	* testsuite/18_support/headers/exception/synopsis.cc: Check accessors
      	for handlers.
      	* testsuite/18_support/headers/new/synopsis.cc: Likewise.
      	* testsuite/18_support/new_handler.cc: New.
      	* testsuite/18_support/terminate_handler.cc: New.
      	* testsuite/18_support/unexpected_handler.cc: New.
      
      From-SVN: r197380
      Jonathan Wakely committed
  2. 02 Apr, 2013 25 commits
  3. 01 Apr, 2013 8 commits