OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years ago PR libstdc++/55043
redi [Wed, 20 Feb 2013 23:55:48 +0000 (23:55 +0000)]
PR libstdc++/55043
* include/bits/alloc_traits.h (allocator_traits::construct): Disable
unless construction would be well-formed.
(__allow_copy_cons, __check_copy_constructible): Define.
* include/bits/unordered_map.h (__check_copy_constructible): Use as
base class so copy constructor will be deleted if appropriate.
* include/bits/unordered_set.h: Likewise.
* include/std/unordered_set: Include alloc_traits.h.
* include/std/unordered_set: Likewise.
* include/debug/unordered_map.h: Default copy and move constructors.
* include/debug/unordered_set.h: Likewise.
* testsuite/23_containers/unordered_map/55043.cc: Fix test.
* testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
* testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
* testsuite/23_containers/unordered_set/55043.cc: Likewise.
* testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
cannot support incomplete types.
* testsuite/23_containers/unordered_multimap/requirements/53339.cc:
Likewise.
* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
dg-error line number.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196187 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR ada/56271
ebotcazou [Wed, 20 Feb 2013 18:24:15 +0000 (18:24 +0000)]
PR ada/56271
Backport from mainline
2012-05-15  Olivier Hainque  <hainque@adacore.com>

* gcc-interface/Make-lang.in (COMMON_FLAGS_TO_PASS): Use WARN_CFLAGS
instead of trying to mimic it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196178 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoClear hwcap_2 with Sun ld
ro [Wed, 20 Feb 2013 10:02:48 +0000 (10:02 +0000)]
Clear hwcap_2 with Sun ld

Backport from mainline:
2012-06-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* gcc.target/i386/clearcapv2.map: New file.
* gcc.target/i386/i386.exp: Try it first before clearcap.map.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196168 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 20 Feb 2013 00:18:42 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196160 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:30:27 +0000 (17:30 +0000)]
Backported from mainline
2013-02-19  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/56350
* tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false
if haven't found reduction or nested cycle operand, rather than
asserting we must find it.

* gcc.dg/pr56350.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196150 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:28:11 +0000 (17:28 +0000)]
Backported from mainline
2013-02-19  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/56381
* tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument
to fold_build3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196149 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:26:56 +0000 (17:26 +0000)]
Backported from mainline
2013-02-09  Jakub Jelinek  <jakub@redhat.com>

PR other/56245
* regex.c (PTR_INT_TYPE): Define.
(EXTEND_BUFFER): Change incr type from int to PTR_INT_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196148 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:26:04 +0000 (17:26 +0000)]
Backported from mainline
2013-02-08  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/56250
* fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize
if type is unsigned and code isn't MULT_EXPR.

* gcc.c-torture/execute/pr56250.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196147 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:24:37 +0000 (17:24 +0000)]
Backported from mainline
2013-02-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/56241
* init.c (build_vec_init): Don't append NULL values into new_vec.
(build_zero_init_1): Don't push anything into v if recursive call
returned NULL_TREE.
(build_value_init_noctor): Don't push anything into v if
build_value_init call returned NULL_TREE.

* g++.dg/parse/crash61.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196146 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:22:43 +0000 (17:22 +0000)]
Backported from mainline
2013-02-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/56239
* parser.c (cp_parser_token_starts_cast_expression): Renamed to...
(cp_parser_tokens_start_cast_expression): ... this.  Change parameter
to cp_parser *, call cp_lexer_peek_token first.  For CPP_OPEN_PAREN,
return true only if 2nd token isn't CPP_CLOSE_PAREN.
(cp_parser_cast_expression): Adjust caller.

* g++.dg/parse/pr56239.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196145 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:21:08 +0000 (17:21 +0000)]
Backported from mainline
2013-02-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/56237
* decl.c (push_local_name): Look at DECL_DISCRIMINATOR (t)
only if DECL_DISCRIMINATOR_SET_P (t) rather than just
DECL_LANG_SPECIFIC (t).

* g++.dg/abi/mangle61.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196142 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:19:36 +0000 (17:19 +0000)]
Backported from mainline
2013-02-06  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/56217
* omp-low.c (use_pointer_for_field): Return false if
lower_send_shared_vars doesn't generate any copy-out code.

* g++.dg/gomp/pr56217.C: New test.

* testsuite/libgomp.c++/pr56217.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196141 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:15:53 +0000 (17:15 +0000)]
Backported from mainline
2012-11-27  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/55110
* tree-vect-loop.c (vectorizable_reduction): Don't assert
that STMT_VINFO_RELATED_STMT of orig_stmt is stmt.

* gcc.dg/pr55110.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196140 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 19 Feb 2013 00:18:40 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196131 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * include/std/functional (mem_fn): Qualify to prevent ADL.
redi [Mon, 18 Feb 2013 22:51:23 +0000 (22:51 +0000)]
* include/std/functional (mem_fn): Qualify to prevent ADL.
* testsuite/20_util/function_objects/mem_fn/adl.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196128 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * include/bits/hashtable.h: Improve comments.
redi [Mon, 18 Feb 2013 22:51:15 +0000 (22:51 +0000)]
* include/bits/hashtable.h: Improve comments.
* include/bits/hashtable_policy.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196127 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-18 Richard Biener <rguenther@suse.de>
rguenth [Mon, 18 Feb 2013 13:46:37 +0000 (13:46 +0000)]
2013-02-18  Richard Biener  <rguenther@suse.de>

Revert
2013-02-04  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-07-04  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53844
* tree-ssa-dse.c (dse_possible_dead_store_p): Properly handle
the loop virtual PHI.

* g++.dg/tree-ssa/pr53844.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196120 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 18 Feb 2013 00:18:03 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196114 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-17 Tobias Burnus <burnus@net-b.de>
mikael [Sun, 17 Feb 2013 22:59:52 +0000 (22:59 +0000)]
2013-02-17  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

Backport from trunk
2013-01-28  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

PR fortran/53537
* symbol.c (gfc_find_sym_tree): Don't look for the symbol outside an
interface block.
(gfc_get_ha_symtree): Let gfc_find_sym_tree lookup the parent namespace.
* decl.c (gfc_match_data_decl): Ditto.
(variable_decl): Remove undeclared type error.
(gfc_match_import): Use renamed instead of original name.

2013-02-17  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

Backport from trunk
2013-01-28  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

PR fortran/53537
* gfortran.dg/import2.f90: Adjust undeclared type error messages.
* gfortran.dg/import8.f90: Likewise.
* gfortran.dg/interface_derived_type_1.f90: Likewise.
* gfortran.dg/import10.f90: New test.
* gfortran.dg/import11.f90: Likewise

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196112 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sun, 17 Feb 2013 00:21:55 +0000 (00:21 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196106 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/54276
jason [Sat, 16 Feb 2013 02:07:55 +0000 (02:07 +0000)]
PR c++/54276
* semantics.c (finish_id_expression): Also return the identifier
for an outer local static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196101 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sat, 16 Feb 2013 00:18:15 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196097 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/52026
jason [Fri, 15 Feb 2013 18:32:12 +0000 (18:32 +0000)]
PR c++/52026
* semantics.c (finish_id_expression): In a template, return
the identifier for a constant variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196087 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/55710
jason [Fri, 15 Feb 2013 18:31:52 +0000 (18:31 +0000)]
PR c++/55710
* semantics.c (maybe_add_lambda_conv_op): Mark static thunk
TREE_USED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196086 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56135
jason [Fri, 15 Feb 2013 18:31:28 +0000 (18:31 +0000)]
PR c++/56135
* pt.c (tsubst_copy_and_build): Don't forget any new
captures that arose from use of dependent names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196085 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-15 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 15 Feb 2013 14:20:22 +0000 (14:20 +0000)]
2013-02-15  Tobias Burnus  <burnus@net-b.de>
            Mikael Morin  <mikael@gcc.gnu.org>

        PR fortran/56318
        * simplify.c (gfc_simplify_matmul): Fix result shape
        and matmul result.

2013-02-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56318
        * gcc/testsuite/gfortran.dg/matmul_9.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196078 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 15 Feb 2013 00:18:32 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196062 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-14 Rainer Emrich <rainer@emrich-ebersheim.de>
ktietz [Thu, 14 Feb 2013 08:45:09 +0000 (08:45 +0000)]
2013-02-14  Rainer Emrich  <rainer@emrich-ebersheim.de>

        PR target/52123
        * adaint.c (__gnat_check_OWNER_ACL): Cast from pointer via
        SECURITY_DESCRIPTOR *.
        (__gnat_set_OWNER_ACL): Cast from DWORD to ACCESS_MODE.
        (__gnat_portable_spawn): Fix cast to char* const*.
        (add_handle): Cast from pointer via void **.
        (add_handle): Cast from pointer via int *.
        (__gnat_locate_exec_on_path): Cast from pointer via TCHAR *.
        (__gnat_locate_exec_on_path): Cast from pointer via char *.
        * initialize.c (append_arg): Cast from pointer via LPWSTR.
        (__gnat_initialize): Cast from pointer via LPWSTR.
        * seh_init.c (__gnat_SEH_error_handler): Cast from pointer via FARPROC.
        * tracebak.c: Cast from pointer via FARPROC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196046 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Thu, 14 Feb 2013 00:18:43 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196038 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoWe should not strip subregs of non-scalars during shift expansion.
davem [Wed, 13 Feb 2013 20:26:51 +0000 (20:26 +0000)]
We should not strip subregs of non-scalars during shift expansion.

* expmed.c (expand_shift_1): Only strip scalar integer subregs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196028 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-02-13 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 13 Feb 2013 15:08:59 +0000 (15:08 +0000)]
2012-02-13   Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2012-01-09  Uros Bizjak  <ubizjak@gmail.com>

        PR fortran/55852
        * gfortran.dg/intrinsic_size_3.f90: Make scan-tree-dump-times
        number matching more robust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196016 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix typo in ChangeLog
ktietz [Wed, 13 Feb 2013 10:31:10 +0000 (10:31 +0000)]
Fix typo in ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196006 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoPR target/52122
ktietz [Wed, 13 Feb 2013 10:20:30 +0000 (10:20 +0000)]
PR target/52122
* Makefile.in (LN_S_RECUSIVE): New.
(adainclude, adalib): Use LN_S_RECURSIVE for copy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196003 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoRevert rev. 195981
ktietz [Wed, 13 Feb 2013 09:59:43 +0000 (09:59 +0000)]
Revert rev. 195981

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196000 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 13 Feb 2013 00:18:16 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195994 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56291
jason [Tue, 12 Feb 2013 17:40:32 +0000 (17:40 +0000)]
PR c++/56291
* semantics.c (sort_constexpr_mem_initializers): Handle
vptr out of order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195987 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/52122
ktietz [Tue, 12 Feb 2013 15:36:56 +0000 (15:36 +0000)]
    PR target/52122
        * Makefile.in (LN_S_RECUSIVE): New.
        (adainclude, adalib): Use LN_S_RECURSIVE for copy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195981 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 12 Feb 2013 00:18:25 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195964 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline
uros [Mon, 11 Feb 2013 17:27:30 +0000 (17:27 +0000)]
Backport from mainline
2013-02-11  Uros Bizjak  <ubizjak@gmail.com>

PR rtl-optimization/56275
* simplify-rtx.c (avoid_constant_pool_reference): Check that
offset is non-negative and less than cmode size before
calling simplify_subreg.

testsuite/ChangeLog:

Backport from mainline
2013-02-11  Uros Bizjak  <ubizjak@gmail.com>

PR rtl-optimization/56275
* gcc.dg/pr56275.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195946 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56268
jason [Mon, 11 Feb 2013 16:21:10 +0000 (16:21 +0000)]
PR c++/56268
* semantics.c (classtype_has_nothrow_assign_or_copy_p): Call
maybe_instantiate_noexcept.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195945 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 11 Feb 2013 00:18:36 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195933 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sun, 10 Feb 2013 00:18:05 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195929 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56247
jason [Sat, 9 Feb 2013 20:47:24 +0000 (20:47 +0000)]
PR c++/56247
* pt.c (eq_specializations): Set comparing_specializations.
* tree.c (cp_tree_equal): Check it.
* cp-tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195923 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * lto.c: Include output.h.
uros [Sat, 9 Feb 2013 09:40:08 +0000 (09:40 +0000)]
* lto.c: Include output.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195914 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline
uros [Sat, 9 Feb 2013 06:58:54 +0000 (06:58 +0000)]
Backport from mainline
2013-02-08  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/sse.md (FMAMODEM): New mode iterator.
(fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM
mode iterator. Do not use TARGET_SSE_MATH in insn constraint.

2013-02-08  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only
when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set.
* config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195912 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sat, 9 Feb 2013 00:18:26 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195908 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago[gcc]
meissner [Fri, 8 Feb 2013 19:46:52 +0000 (19:46 +0000)]
[gcc]
2013-02-08  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/56043
* config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass):
If there is no implicit builtin declaration, just return NULL.

[gcc/testsuite]
2013-02-08  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/56043
* gcc.target/powerpc/vsx-mass-1.c: Only run this test on
powerpc*-*-linux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195899 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-08 David Edelsohn <dje.gcc@gmail.com>
dje [Fri, 8 Feb 2013 14:41:43 +0000 (14:41 +0000)]
2013-02-08  David Edelsohn  <dje.gcc@gmail.com>
            Michael Meissner  <meissner@linux.vnet.ibm.com>

        Backport from mainline
        * config/rs6000/rs6000.c (rs6000_option_override_internal): Clear
        MASK_VSX from set_masks if OS_MISSING_ALTIVEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195887 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 8 Feb 2013 00:17:44 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195873 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix variable tracking for leaf functions on sparc.
davem [Thu, 7 Feb 2013 23:42:03 +0000 (23:42 +0000)]
Fix variable tracking for leaf functions on sparc.

* dwarf2out.c (based_loc_descr): Perform leaf register remapping
on 'reg'.
* var-tracking.c (vt_add_function_parameter): Test the presence of
HAVE_window_save properly and do not remap argument registers when
we have a leaf function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195870 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline
uros [Thu, 7 Feb 2013 19:18:27 +0000 (19:18 +0000)]
Backport from mainline
2013-02-07  Uros Bizjak  <ubizjak@gmail.com>

PR bootstrap/56227
* ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT
instead of "ll".
* config/i386/i386.c (ix86_print_operand): Ditto.

lto/ChangeLog:

Backport from mainline
2013-02-07  Uros Bizjak  <ubizjak@gmail.com>

PR bootstrap/56227
* lto.c (lto_resolution_ready): Use %wx instead of
HOST_WIDE_INT_PRINT_HEX_PURE in the argument to internal_error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195865 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/50678
ebotcazou [Thu, 7 Feb 2013 18:07:58 +0000 (18:07 +0000)]
PR target/50678
* init.c (__darwin_major_version): New function for x86-64/Darwin.
(__gnat_adjust_context_for_raise) [Darwin]: Disable the workaround
on Darwin 12 and above.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195863 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/53040
amodra [Thu, 7 Feb 2013 01:39:21 +0000 (01:39 +0000)]
PR target/53040
* config/rs6000/rs6000.c (rs6000_savres_strategy): When using
static chain, set REST_INLINE_FPRS too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195834 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Thu, 7 Feb 2013 00:18:01 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195831 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline
dje [Wed, 6 Feb 2013 15:23:55 +0000 (15:23 +0000)]
    Backport from mainline
        2013-01-25  Michael Haubenwallner  <michael.haubenwallner@salomon.at>

        * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195807 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/54122
jason [Wed, 6 Feb 2013 13:42:06 +0000 (13:42 +0000)]
PR c++/54122
* tree.c (lvalue_kind) [INDIRECT_REF]: Don't check for
METHOD_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195806 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 6 Feb 2013 00:18:27 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195776 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * eo.po: New.
jsm28 [Tue, 5 Feb 2013 23:48:17 +0000 (23:48 +0000)]
* eo.po: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195773 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline
dje [Tue, 5 Feb 2013 16:41:08 +0000 (16:41 +0000)]
    Backport from mainline
        2013-02-03  David Edelsohn  <dje.gcc@gmail.com>
                    Andrew Dixie  <andrewd@gentrack.com>

        * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY
        flag set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195763 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR libgomp/51376
amodra [Tue, 5 Feb 2013 13:40:25 +0000 (13:40 +0000)]
PR libgomp/51376
PR libgomp/56073
* task.c (GOMP_task): Revert 2011-12-09 change.
(GOMP_taskwait): Likewise.  Instead use atomic load with acquire
barrier to read task->children..
(gomp_barrier_handle_tasks): ..and matching atomic store with
release barrier here when setting parent->children to NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195756 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-05 Richard Biener <rguenther@suse.de>
rguenth [Tue, 5 Feb 2013 12:56:51 +0000 (12:56 +0000)]
2013-02-05  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-12-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/55107
* tree-ssa-pre.c (struct pre_stats): Remove constified field.
(bitmap_set_replace_value): Add gcc_unreachable.
(do_regular_insertion): Re-write all_same handling.  Insert
an assignment instead of a PHI in this case.
(execute_pre): Do not record constified events.

* gcc.dg/torture/pr55107.c: New testcase.
* gcc.dg/tree-ssa/ssa-pre-5.c: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195755 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-05 Richard Biener <rguenther@suse.de>
rguenth [Tue, 5 Feb 2013 12:54:12 +0000 (12:54 +0000)]
2013-02-05  Richard Biener  <rguenther@suse.de>

PR tree-optimization/54767
* tree-vrp.c (vrp_visit_phi_node): For PHI arguments coming via
backedges drop all symbolical range information.
(execute_vrp): Compute backedges.

* gfortran.fortran-torture/execute/pr54767.f90: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195754 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 5 Feb 2013 00:18:25 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195745 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR testsuite/56206
janis [Mon, 4 Feb 2013 18:07:06 +0000 (18:07 +0000)]
PR testsuite/56206
* lib/target-supports.exp (check_effective_target_arm_hard_vfp_ok):
Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195725 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-04 Richard Biener <rguenther@suse.de>
rguenth [Mon, 4 Feb 2013 15:49:18 +0000 (15:49 +0000)]
2013-02-04  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-01-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/44061
* tree-vrp.c (extract_range_basic): Compute zero as
value-range for __builtin_constant_p of function parameters.

* gcc.dg/pr44061.c: New testcase.

2013-01-08  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/55890
* tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_class_p.

* gcc.dg/torture/pr55890-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195718 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-04 Richard Biener <rguenther@suse.de>
rguenth [Mon, 4 Feb 2013 12:04:35 +0000 (12:04 +0000)]
2013-02-04  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-07-04  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53844
* tree-ssa-dse.c (dse_possible_dead_store_p): Properly handle
the loop virtual PHI.

* g++.dg/tree-ssa/pr53844.C: New testcase.

2012-12-13  Richard Biener  <rguenther@suse.de>

PR lto/55660
* tree-streamer.c (record_common_node): Check that we are not
recursively pre-loading nodes we want to skip.  Handle
char_type_node appearing as part of va_list_type_node.

* gcc.dg/lto/pr55660_0.c: New testcase.
* gcc.dg/lto/pr55660_1.c: Likewise.

2013-02-04  Richard Biener  <rguenther@suse.de>

PR middle-end/55890
* gimple.h (gimple_call_builtin_class_p): New function.
* gimple.c (validate_call): New function.
(gimple_call_builtin_class_p): Likewise.
* tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
Use gimple_call_builtin_class_p.
(find_func_clobbers): Likewise.
* tree-ssa-strlen.c (adjust_last_stmt): Likewise.
(strlen_optimize_stmt): Likewise.

* gcc.dg/torture/pr55890-1.c: New testcase.
* gcc.dg/torture/pr55890-2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195708 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 4 Feb 2013 00:19:00 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195705 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sun, 3 Feb 2013 00:19:24 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195689 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-02 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 2 Feb 2013 22:38:14 +0000 (22:38 +0000)]
2013-02-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/50627
PR fortran/56054
* decl.c (gfc_match_end):  Remove half-ready namespace
from parent if the end of a block is missing.
* parse.c (parse_module):  Do not put namespace into
gsymbol on error.

2013-02-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/50627
PR fortran/56054
* gfortran.dg/block_12.f90:  New test.
* gfortran.dg/module_error_1.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195687 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sat, 2 Feb 2013 00:18:24 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195681 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:17:50 +0000 (14:17 +0000)]
Backported from mainline
2013-01-28  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/56125
* tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize
pow(x,c) into sqrt(x) * powi(x, n/2) or
1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when
optimizing for size.
Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or
1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an
integer.

* gcc.dg/pr56125.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195664 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:16:20 +0000 (14:16 +0000)]
Backported from mainline
2013-01-25  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/56098
* tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
for stmts with volatile ops.
(cond_store_replacement): Don't optimize if assign has volatile ops.
(cond_if_else_store_replacement_1): Don't optimize if either
then_assign or else_assign have volatile ops.

* gcc.dg/pr56098-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195663 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:15:21 +0000 (14:15 +0000)]
Backported from mainline
2013-01-23  Jakub Jelinek  <jakub@redhat.com>

PR fortran/56052
* trans-decl.c (gfc_get_symbol_decl): Set DECL_ARTIFICIAL
and DECL_IGNORED_P on select_type_temporary and don't set
DECL_BY_REFERENCE.

* gfortran.dg/gomp/pr56052.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195662 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:14:11 +0000 (14:14 +0000)]
Backported from mainline
2013-01-23  Jakub Jelinek  <jakub@redhat.com>

PR target/49069
* config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
instead of cmpdi_operand for first comparison operand.
Don't assert that comparison operands aren't both constants.

* gcc.dg/pr49069.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195661 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:12:29 +0000 (14:12 +0000)]
Backported from mainline
2013-01-22  Jakub Jelinek  <jakub@redhat.com>

PR libquadmath/56072
* libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195659 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:11:46 +0000 (14:11 +0000)]
Backported from mainline
2013-01-21  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/56051
* fold-const.c (fold_binary_loc): Don't fold
X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
a narrowing conversion, or widening conversion from signed
to unsigned.

* gcc.c-torture/execute/pr56051.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195658 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:10:48 +0000 (14:10 +0000)]
Backported from mainline
2013-01-18  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/56015
* expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
the case where writing real complex part of target modifies
op1.

* gfortran.dg/pr56015.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195657 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:09:38 +0000 (14:09 +0000)]
Backported from mainline
2013-01-15  Jakub Jelinek  <jakub@redhat.com>

PR target/55940
* function.c (thread_prologue_and_epilogue_insns): Always
add crtl->drap_reg to set_up_by_prologue.set, even if
stack_realign_drap is false.

* gcc.dg/pr55940.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195656 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:08:32 +0000 (14:08 +0000)]
Backported from mainline
2013-01-10  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/55921
* tree-complex.c (expand_complex_asm): New function.
(expand_complex_operations_1): Call it for GIMPLE_ASM.

* gcc.c-torture/compile/pr55921.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195655 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:07:35 +0000 (14:07 +0000)]
Backported from mainline
2013-01-03  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/55838
* loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
iv0.step, iv1.step and step.

* gcc.dg/pr55838.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195654 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:05:42 +0000 (14:05 +0000)]
Backported from mainline
2012-12-13  Jakub Jelinek  <jakub@redhat.com>

PR c++/55652
* typeck2.c (merge_exception_specifiers): Don't call operand_equal_p
if noex is NULL.

* g++.dg/cpp0x/noexcept19.C: New test.

2012-12-06  Jakub Jelinek  <jakub@redhat.com>

PR c++/54207
* except.c (build_noexcept_spec): Avoid direct comparison
with boolean_true_node or boolean_false_node, instead use
operand_equal_p and/or INTEGER_CST check.
* pt.c (tsubst_exception_specification): Likewise.
* typeck2.c (merge_exception_specifiers): Likewise.

* g++.dg/cpp0x/noexcept18.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195653 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:03:44 +0000 (14:03 +0000)]
Backported from mainline
2012-12-01  Jakub Jelinek  <jakub@redhat.com>

PR c++/55542
* pt.c (make_ith_pack_parameter_name): Return NULL if
name is NULL.
(tsubst_decl): Call make_ith_pack_parameter_name even if
DECL_NAME is NULL.

* g++.dg/cpp0x/vt-55542.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195652 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:02:33 +0000 (14:02 +0000)]
Backported from mainline
2012-11-23  Jakub Jelinek  <jakub@redhat.com>

PR c++/54046
* Makefile.in (gimple-low.o): Depend on langhooks.h.
* gimple-low.c: Include langhooks.c.
(block_may_fallthru): Handle TARGET_EXPR and ERROR_MARK,
by default call lang_hooks.block_may_fallthru.
* langhooks.h (struct lang_hooks): Add block_may_fallthru
langhook.
* langhooks-def.h (LANG_HOOKS_BLOCK_MAY_FALLTHRU): Define.
(LANG_HOOKS_INITIALIZER): Use it.

* cp-objcp-common.h (LANG_HOOKS_BLOCK_MAY_FALLTHRU): Redefine.
* cp-objcp-common.c (cxx_block_may_fallthru): New function.
* cp-tree.h (cxx_block_may_fallthru): New prototype.

* g++.dg/warn/Wreturn-type-8.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195651 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 14:00:12 +0000 (14:00 +0000)]
Backported from mainline
2012-11-20  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/55094
* builtins.c (expand_builtin_trap): Add REG_ARGS_SIZE note
on the trap insn for !ACCUMULATE_OUTGOING_ARGS.
* cfgcleanup.c (outgoing_edges_match): Don't look at debug insns
on the first old_insns_match_p call.  For !ACCUMULATE_OUTGOING_ARGS
fail if the last real insn doesn't have REG_ARGS_SIZE note.

* gcc.dg/pr55094.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195650 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 13:58:55 +0000 (13:58 +0000)]
Backported from mainline
2012-11-17  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/55236
* fold-const.c (make_range_step) <case NEGATE_EXPR>: For -fwrapv
and signed ARG0_TYPE, force low and high to be non-NULL.

* gcc.dg/pr55236.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195649 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Fri, 1 Feb 2013 13:57:46 +0000 (13:57 +0000)]
Backported from mainline
2012-11-13  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/54127
* cfgrtl.c (force_nonfallthru_and_redirect): When redirecting
asm goto labels from BB_HEAD (e->dest) to target bb, decrement
LABEL_NUSES of BB_HEAD (e->dest) and increment LABEL_NUSES of
BB_HEAD (target) appropriately and adjust JUMP_LABEL and/or
REG_LABEL_TARGET and REG_LABEL_OPERAND.

* gcc.dg/torture/pr54127.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195648 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
ebotcazou [Fri, 1 Feb 2013 10:23:36 +0000 (10:23 +0000)]
* fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
range isn't testing for zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195643 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 1 Feb 2013 00:18:47 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195636 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoCorrect ChangeLog's mentioned PR-number.
ktietz [Thu, 31 Jan 2013 08:30:35 +0000 (08:30 +0000)]
Correct ChangeLog's mentioned PR-number.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195606 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Merged from trunk
ktietz [Thu, 31 Jan 2013 08:19:03 +0000 (08:19 +0000)]
Merged from trunk
PR other/54620
* sha1.c (sha1_process_block):  Handle case that size_t is
a wider-integer-scalar as a 32-bit unsigned integer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195605 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Merged from trunk.
ktietz [Thu, 31 Jan 2013 08:15:57 +0000 (08:15 +0000)]
Merged from trunk.
PR other/543413
* md5.c (md5_process_block):  Handle case that size_t is
a wider-integer-scalar a 32-bit unsigned integer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195602 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Merged from trunk.
ktietz [Thu, 31 Jan 2013 08:14:27 +0000 (08:14 +0000)]
Merged from trunk.
PR other/53285
* md5.c (md5_finish_ctx): Declare swap_bytes.  Assign SWAP() output
to swap_bytes, and then call memcpy to move it to ctx->buffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195601 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Thu, 31 Jan 2013 00:18:43 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195597 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-01-30 Kai Tietz <ktietz@redhat.com>
ktietz [Wed, 30 Jan 2013 16:56:36 +0000 (16:56 +0000)]
2013-01-30  Kai Tietz  <ktietz@redhat.com>

PR other/54620
PR target/39064
* md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if
stdint.h and sys/types.h headers are present.
* sha1.h (sha1_uintptr, sha1_uint32): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195580 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 30 Jan 2013 00:18:33 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195567 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-01-29 Richard Biener <rguenther@suse.de>
rguenth [Tue, 29 Jan 2013 14:23:48 +0000 (14:23 +0000)]
2013-01-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56113
* tree-ssa-structalias.c (equiv_class_lookup): Also return
the bitmap leader.
(label_visit): Free duplicate bitmaps and record the leader instead.
(perform_var_substitution): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195542 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 29 Jan 2013 00:18:20 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195524 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/35294
nickc [Mon, 28 Jan 2013 15:07:41 +0000 (15:07 +0000)]
PR target/35294
* config/arm/arm.c (arm_expand_binop_builtin): Add new parameter.
Fix mode checks to allow for the passing of constants in the
second parameter.
(arm_expand_builtin): Adjust calls to arm_expand_binop_builtin.
Add entries in the switch statement for builtin iwmmxt vector
shift and rotate builtins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195510 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 28 Jan 2013 00:18:21 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195499 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline
uros [Sun, 27 Jan 2013 16:03:40 +0000 (16:03 +0000)]
Backport from mainline
2013-01-27  Uros Bizjak  <ubizjak@gmail.com>

PR target/56114
* config/i386/i386.md (*movabs<mode>_1): Add square brackets around
operand 0 in movabs insn template for -masm=intel asm alternative.
(*movabs<mode>_2): Ditto for operand 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195496 138bc75d-0d04-0410-961f-82ee72b054a4