]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
10 years agore PR middle-end/66251 (ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c...
Richard Biener [Thu, 4 Jun 2015 11:10:47 +0000 (11:10 +0000)] 
re PR middle-end/66251 (ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1484)

2015-06-04  Richard Biener  <rguenther@suse.de>

PR middle-end/66251
* gcc.dg/vect/pr66251.c: Fix expected vectorization.

From-SVN: r224123

10 years agoDaily bump.
GCC Administrator [Thu, 4 Jun 2015 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r224110

10 years agobackport: re PR middle-end/66133 (Wrong-code with noreturn #pragma omp task body)
Jakub Jelinek [Wed, 3 Jun 2015 15:35:03 +0000 (17:35 +0200)] 
backport: re PR middle-end/66133 (Wrong-code with noreturn #pragma omp task body)

Backported from mainline
2015-05-13  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/66133
* omp-low.c (expand_omp_taskreg): For GIMPLE_OMP_TASK expansion,
make sure it is never noreturn, even when the task body does not
return.
(lower_omp_taskreg): For GIMPLE_OMP_TASK, emit GIMPLE_OMP_CONTINUE
right before GIMPLE_OMP_RETURN.
(make_gimple_omp_edges): Accept GIMPLE_OMP_CONTINUE as ->cont
for GIMPLE_OMP_TASK.  For GIMPLE_OMP_RETURN corresponding to
GIMPLE_OMP_TASK add an EDGE_ABNORMAL edge from entry to exit.

* testsuite/libgomp.c/pr66133.c: New test.

From-SVN: r224093

10 years agobackport: re PR middle-end/65984 (ICE: definition in block 4 does not dominate use...
Jakub Jelinek [Wed, 3 Jun 2015 15:33:59 +0000 (17:33 +0200)] 
backport: re PR middle-end/65984 (ICE: definition in block 4 does not dominate use in block 2 with -fnon-call-exceptions -fsanitize=enum)

Backported from mainline
2015-05-04  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/65984
* ubsan.c: Include tree-cfg.h.
(instrument_bool_enum_load): Use stmt_ends_bb_p instead of
stmt_could_throw_p test, rename can_throw variable to ends_bb.

* c-c++-common/ubsan/pr65984.c: New test.

From-SVN: r224092

10 years agobackport: re PR middle-end/65680 (ICE at -O1 and above on x86_64-linux-gnu in expand_...
Jakub Jelinek [Wed, 3 Jun 2015 15:32:52 +0000 (17:32 +0200)] 
backport: re PR middle-end/65680 (ICE at -O1 and above on x86_64-linux-gnu in expand_assignment, at expr.c:4830)

Backported from mainline
2015-04-07  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/65680
* expr.c (get_inner_reference): Handle bit_offset that doesn't fit
into signed HOST_WIDE_INT the same as negative bit_offset.

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

From-SVN: r224091

10 years agobackport: re PR middle-end/65597 (ICE in build_outer_var_ref, at omp-low.c:1043)
Jakub Jelinek [Wed, 3 Jun 2015 15:31:46 +0000 (17:31 +0200)] 
backport: re PR middle-end/65597 (ICE in build_outer_var_ref, at omp-low.c:1043)

Backported from mainline
2015-03-30  Jakub Jelinek  <jakub@redhat.com>

PR fortran/65597
* trans-openmp.c (gfc_trans_omp_do): For !simple simd with explicit
linear clause for the iterator set OMP_CLAUSE_LINEAR_NO_COPYIN.
For implcitly added !simple OMP_CLAUSE_LINEAR set it too.  Use step 1
instead of the original step on the new iterator - count.

* testsuite/libgomp.fortran/pr65597.f90: New test.

From-SVN: r224090

10 years agobackport: re PR target/65504 (select case with strings and -fgcse -O)
Jakub Jelinek [Wed, 3 Jun 2015 15:30:58 +0000 (17:30 +0200)] 
backport: re PR target/65504 (select case with strings and -fgcse -O)

2015-06-03  Jakub Jelinek  <jakub@redhat.com>

Backported from mainline
2015-03-23  Jakub Jelinek  <jakub@redhat.com>

PR target/65504
* config/i386/i386.c (ix86_copy_addr_to_reg): Set REG_POINTER
on the pseudo.
(expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Set
REG_POINTER on *destptr after adjusting it for prologue size.

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

From-SVN: r224089

10 years agobackport: c-decl.c (c_decl_attributes): Also add "omp declare target" attribute for...
Jakub Jelinek [Wed, 3 Jun 2015 15:29:35 +0000 (17:29 +0200)] 
backport: c-decl.c (c_decl_attributes): Also add "omp declare target" attribute for DECL_EXTERNAL VAR_DECLs.

Backported from mainline
2015-03-19  Jakub Jelinek  <jakub@redhat.com>

* c-decl.c (c_decl_attributes): Also add "omp declare target"
attribute for DECL_EXTERNAL VAR_DECLs.

* decl2.c (cplus_decl_attributes): Also add "omp declare target"
attribute for DECL_EXTERNAL VAR_DECLs.

* testsuite/libgomp.c/target-10.c: New test.
* testsuite/libgomp.c++/target-4.C: New test.

From-SVN: r224088

10 years agobackport: re PR tree-optimization/65450 (Unaligned access with -O3 -mtune=k8)
Jakub Jelinek [Wed, 3 Jun 2015 15:27:43 +0000 (17:27 +0200)] 
backport: re PR tree-optimization/65450 (Unaligned access with -O3 -mtune=k8)

Backported from mainline
2015-03-18  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/65450
* tree-vect-data-refs.c (vect_duplicate_ssa_name_ptr_info): New
function.
(vect_create_addr_base_for_vector_ref, vect_create_data_ref_ptr): Use
it instead of duplicate_ssa_name_ptr_info.

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

From-SVN: r224087

10 years agobackport: re PR tree-optimization/65427 (ICE in emit_move_insn with wide vector types)
Jakub Jelinek [Wed, 3 Jun 2015 15:26:56 +0000 (17:26 +0200)] 
backport: re PR tree-optimization/65427 (ICE in emit_move_insn with wide vector types)

Backported from mainline
2015-03-16  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/65427
* tree-vect-generic.c (do_cond, expand_vector_scalar_condition): New
functions.
(expand_vector_operations_1): Handle BLKmode vector COND_EXPR.

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

From-SVN: r224086

10 years agobackport: re PR target/65368 (_bzhi_u32 intrinsic generates incorrect code when ...
Jakub Jelinek [Wed, 3 Jun 2015 15:26:15 +0000 (17:26 +0200)] 
backport: re PR target/65368 (_bzhi_u32 intrinsic generates incorrect code when -O1 or above is specified and index is an immediate)

Backported from mainline
2015-03-10  Jakub Jelinek  <jakub@redhat.com>

PR target/65368
* config/i386/i386.md (bmi2_bzhi_<mode>3): Removed define_insn,
new define_expand.
(*bmi2_bzhi_<mode>3, *bmi2_bzhi_<mode>3_1): New define_insns.

* gcc.target/i386/bmi2-bzhi-2.c: New test.

From-SVN: r224085

10 years agobackport: re PR gcov-profile/64634 (gcov reports catch(...) as not executed)
Jakub Jelinek [Wed, 3 Jun 2015 15:25:15 +0000 (17:25 +0200)] 
backport: re PR gcov-profile/64634 (gcov reports catch(...) as not executed)

Backported from mainline
2015-02-18  Jakub Jelinek  <jakub@redhat.com>

PR gcov-profile/64634
* tree-eh.c (frob_into_branch_around): Fix up typos
in function comment.
(lower_catch): Put eh_seq resulting from EH lowering of
the cleanup sequence after the cleanup rather than before
it.

* g++.dg/gcov/gcov-15.C: New test.

From-SVN: r224084

10 years agoBackport PRs 62031, 65518, 65549, 66123, 66251, 66272
Richard Biener [Wed, 3 Jun 2015 11:03:26 +0000 (11:03 +0000)] 
Backport PRs 62031, 65518, 65549, 66123, 66251, 66272

2015-06-03  Richard Biener  <rguenther@suse.de>

Backport from mainline
2015-05-26  Michael Matz  <matz@suse.de>

PR middle-end/66251
* tree-vect-stmts.c (vect_create_vectorized_demotion_stmts): Always set
STMT_VINFO_VEC_STMT, also with SLP.

* gcc.dg/vect/pr66251.c: New test.

2015-05-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/66251
* tree-vect-stmts.c (vectorizable_conversion): Properly
set STMT_VINFO_VEC_STMT even for the SLP case.

* gfortran.fortran-torture/compile/pr66251.f90: New testcase.

2015-05-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/66272
Revert parts of
2014-08-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/62031
* tree-data-ref.c (dr_analyze_indices): Do not set
DR_UNCONSTRAINED_BASE.
(dr_may_alias_p): All indirect accesses have to go the
formerly DR_UNCONSTRAINED_BASE path.
* tree-data-ref.h (struct indices): Remove
unconstrained_base member.
(DR_UNCONSTRAINED_BASE): Remove.

* gcc.dg/torture/pr66272.c: New testcase.

2015-05-13  Richard Biener  <rguenther@suse.de>

PR tree-optimization/66123
* tree-ssa-dom.c (propagate_rhs_into_lhs): Check if we found
a taken edge.

* gcc.dg/torture/pr66123.c: New testcase.

2015-06-02  Richard Biener  <rguenther@suse.de>

PR debug/65549
* dwarf2out.c (lookup_context_die): New function.
(resolve_addr): Avoid forcing a full DIE for the
target of a DW_TAG_GNU_call_site during late compilation.
Instead create a stub DIE without a type if we have a
context DIE present.

* g++.dg/lto/pr65549_0.C: New testcase.

2015-03-23  Richard Biener  <rguenther@suse.de>

PR tree-optimization/65518
* tree-vect-stmts.c (vectorizable_load): Reject single-element
interleaving cases we generate absymal code for.

* gcc.dg/vect/pr65518.c: New testcase.

From-SVN: r224072

10 years agoDaily bump.
GCC Administrator [Wed, 3 Jun 2015 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r224051

10 years agoDaily bump.
GCC Administrator [Tue, 2 Jun 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r224004

10 years agohotpatch-compile-15.c: Remove dg-prune-output directives.
Jakub Jelinek [Mon, 1 Jun 2015 11:43:34 +0000 (13:43 +0200)] 
hotpatch-compile-15.c: Remove dg-prune-output directives.

* gcc.target/s390/hotpatch-compile-15.c: Remove dg-prune-output
directives.
(hp3, hp4): Add inline keyword.
* gcc.target/s390/hotpatch-19.c: Remove dg-prune-output directive.
(hp2): Add inline keyword.
* gcc.target/s390/hotpatch-19.c: Remove dg-prune-output directives.
(hp2): Add inline keyword.

From-SVN: r223936

10 years agoPR 66215: S390: Fix placement of post-label NOPs with -mhotpatch
Dominik Vogt [Mon, 1 Jun 2015 11:28:09 +0000 (11:28 +0000)] 
PR 66215: S390: Fix placement of post-label NOPs with -mhotpatch

gcc/ChangeLog:
--------------
2015-06-01  Dominik Vogt  <vogt@linux.vnet.ibm.com>

    Backport from mainline
    2015-05-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>

    PR target/66215
    * config/s390/s390.c (s390_reorg): Fix placement of post-label NOPs
    with -mhotpatch=.

gcc/testsuite/ChangeLog:
------------------------
2015-06-01  Dominik Vogt  <vogt@linux.vnet.ibm.com>

    Backport from mainline
    2015-05-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>

    PR target/66215
    * gcc.target/s390/hotpatch-1.c: Remove optimization options from
    dg-options.
    * gcc.target/s390/hotpatch-10.c: Likewise.
    * gcc.target/s390/hotpatch-11.c: Likewise.
    * gcc.target/s390/hotpatch-12.c: Likewise.
    * gcc.target/s390/hotpatch-17.c: Likewise.
    * gcc.target/s390/hotpatch-18.c: Likewise.
    * gcc.target/s390/hotpatch-20.c: Likewise.
    * gcc.target/s390/hotpatch-21.c: Likewise.
    * gcc.target/s390/hotpatch-22.c: Likewise.
    * gcc.target/s390/hotpatch-23.c: Likewise.
    * gcc.target/s390/hotpatch-24.c: Likewise.
    * gcc.target/s390/hotpatch-2.c: Likewise.  Adjust scan-assembler
    to check for the exact nops too.
    * gcc.target/s390/hotpatch-3.c: Likewise.
    * gcc.target/s390/hotpatch-4.c: Likewise.
    * gcc.target/s390/hotpatch-5.c: Likewise.
    * gcc.target/s390/hotpatch-6.c: Likewise.
    * gcc.target/s390/hotpatch-7.c: Likewise.
    * gcc.target/s390/hotpatch-8.c: Likewise.
    * gcc.target/s390/hotpatch-9.c: Likewise.
    * gcc.target/s390/hotpatch-14.c: Likewise.
    * gcc.target/s390/hotpatch-15.c: Likewise.
    * gcc.target/s390/hotpatch-16.c: Likewise.
    * gcc.target/s390/hotpatch-19.c: Likewise.
    * gcc.target/s390/hotpatch-25.c: Likewise.  Remove
    scan-assembler-times counting number of .align directives.
    * gcc.target/s390/hotpatch-13.c: Remove optimization options from
    dg-options.  Remove scan-assembler-times counting number of .align
    directives.
    * gcc.target/s390/hotpatch-26.c: New file.
    * gcc.target/s390/hotpatch-27.c: New file.
    * gcc.target/s390/hotpatch-28.c: New file.
    * gcc.target/s390/s390.exp: Run hotpatch-*.c tests as torture tests
    using -Os -O0 -O1 -O2 -O3 options.

From-SVN: r223931

10 years agoDaily bump.
GCC Administrator [Mon, 1 Jun 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223908

10 years agoDaily bump.
GCC Administrator [Sun, 31 May 2015 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223894

10 years agoDaily bump.
GCC Administrator [Sat, 30 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223880

10 years agobackport: re PR testsuite/63175 (FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp...
Bill Schmidt [Fri, 29 May 2015 16:48:37 +0000 (16:48 +0000)] 
backport: re PR testsuite/63175 (FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan-tree-dump-times slp2" basic block vectorized using SLP" 1)

2015-05-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backported from mainline
2015-03-23  Martin Sebor  <msebor@redhat.com>

PR testsuite/63175
* gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a-pr63175.c: Scan
assembly for lvx in addition to lxv.

From-SVN: r223872

10 years agoDaily bump.
GCC Administrator [Fri, 29 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223854

10 years agore PR libstdc++/65352 (array<T,0>::begin()/end() etc. forms a null reference and...
Jonathan Wakely [Thu, 28 May 2015 16:27:56 +0000 (17:27 +0100)] 
re PR libstdc++/65352 (array<T,0>::begin()/end() etc. forms a null reference and breaks on clang+ubsan)

PR libstdc++/65352
* include/profile/array (array::data): Use __array_traits::_S_ptr.
* include/debug/array (array::data): Likewise.
* include/std/array (__array_traits::_S_ptr): New function.
(array::data): Use _S_ptr to avoid creating invalid reference.
* testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
dg-error line numbers.
* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
likewise.

From-SVN: r223842

10 years agobackport: 64658.cc: Test stored value.
Jonathan Wakely [Thu, 28 May 2015 16:27:51 +0000 (17:27 +0100)] 
backport: 64658.cc: Test stored value.

Backport from mainline
2015-01-20  Jonathan Wakely  <jwakely@redhat.com>

* testsuite/29_atomics/atomic/64658.cc: Test stored value.

From-SVN: r223841

10 years agobackport: re PR libstdc++/37522 (Incorrect vswprintf prototype breaks __to_xstring)
Jonathan Wakely [Thu, 28 May 2015 16:27:46 +0000 (17:27 +0100)] 
backport: re PR libstdc++/37522 (Incorrect vswprintf prototype breaks __to_xstring)

Backport from mainline
2014-12-22  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/37522
* include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
stoul, stoull, to_string): Only use _GLIBCXX_HAVE_BROKEN_VSWPRINTF
to guard definition of to_wstring.

From-SVN: r223840

10 years agonios2-linux: add missing cpp specs
Mike Frysinger [Thu, 28 May 2015 14:07:23 +0000 (14:07 +0000)] 
nios2-linux: add missing cpp specs

Define CPP_SPEC for nios2 linux targets so that -posix & -pthread work
like on all other linux targets.

Discovered via Gentoo bug https://bugs.gentoo.org/543114

From-SVN: r223828

10 years agomicroblaze-linux: add missing cpp specs
Mike Frysinger [Thu, 28 May 2015 14:07:04 +0000 (14:07 +0000)] 
microblaze-linux: add missing cpp specs

Define CPP_SPEC for microblaze linux targets so that -posix & -pthread
work like on all other linux targets.

Discovered via Gentoo bug https://bugs.gentoo.org/543114

From-SVN: r223827

10 years agohppa-linux: add missing cpp specs
Mike Frysinger [Thu, 28 May 2015 14:06:47 +0000 (14:06 +0000)] 
hppa-linux: add missing cpp specs

Define CPP_SPEC for parisc linux targets so that -posix & -pthread work
like on all other linux targets.

Discovered via Gentoo bug https://bugs.gentoo.org/543114

From-SVN: r223826

10 years agore PR target/66148 (build/genpreds: Internal error: abort in choose_enum_order, at...
John David Anglin [Thu, 28 May 2015 01:15:46 +0000 (01:15 +0000)] 
re PR target/66148 (build/genpreds: Internal error: abort in choose_enum_order, at genpreds.c:1006)

PR target/66148
* config/pa/pa.c (pa_emit_move_sequence): Correct placement of
REG_EQUAL note when doing insert.

From-SVN: r223793

10 years agoDaily bump.
GCC Administrator [Thu, 28 May 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223786

10 years agoDaily bump.
GCC Administrator [Wed, 27 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223727

10 years agobackport: varasm.c (output_constant_pool_1): Pass down alignment from constant pool...
Rohit Arul Raj [Tue, 26 May 2015 20:16:17 +0000 (20:16 +0000)] 
backport: varasm.c (output_constant_pool_1): Pass down alignment from constant pool entry's descriptor to output_constant_pool_2.

Backported from mainline
2015-05-14  Rohit Arul Raj  <rohitarulraj@freescale.com>

* varasm.c (output_constant_pool_1): Pass down alignment from
constant pool entry's descriptor to output_constant_pool_2.
(output_object_block): Add comment prior to call to
output_constant_pool_1.

* gcc.target/powerpc/pr60158.c: New test.

From-SVN: r223714

10 years agoDaily bump.
GCC Administrator [Tue, 26 May 2015 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223659

10 years agoDaily bump.
GCC Administrator [Mon, 25 May 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223638

10 years agoDaily bump.
GCC Administrator [Sun, 24 May 2015 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223616

10 years agoDaily bump.
GCC Administrator [Sat, 23 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223601

10 years agore PR target/66224 (PowerPC _GLIBCXX_READ_MEM_BARRIER too weak)
David Edelsohn [Fri, 22 May 2015 13:02:34 +0000 (13:02 +0000)] 
re PR target/66224 (PowerPC _GLIBCXX_READ_MEM_BARRIER too weak)

        PR target/66224
        * config/cpu/powerpc/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER):
        Don't use isync. Use lwsync if available.

From-SVN: r223564

10 years agoDaily bump.
GCC Administrator [Fri, 22 May 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223510

10 years agobackport: config.gcc [...]: Allow --enable-targets=all to build a biarch toolchain...
Sandra Loosemore [Thu, 21 May 2015 20:50:59 +0000 (16:50 -0400)] 
backport: config.gcc [...]: Allow --enable-targets=all to build a biarch toolchain again.

2015-05-21  Sandra Loosemore  <sandra@codesourcery.com>

Backport from mainline r223418:

gcc/
* config.gcc [powerpc*-*-linux*]: Allow --enable-targets=all
to build a biarch toolchain again.

From-SVN: r223503

10 years agoDaily bump.
GCC Administrator [Thu, 21 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223466

10 years agoDaily bump.
GCC Administrator [Wed, 20 May 2015 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223420

10 years agoS/390: invoke.texi: Add missing cpu types for march option: z196 and zEC12.
Andreas Krebbel [Tue, 19 May 2015 12:28:58 +0000 (12:28 +0000)] 
S/390: invoke.texi: Add missing cpu types for march option: z196 and zEC12.

gcc/
* doc/invoke.texi: Add missing cpu types for march option: z196
and zEC12.

From-SVN: r223358

10 years agoDaily bump.
GCC Administrator [Tue, 19 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223328

10 years agoDaily bump.
GCC Administrator [Mon, 18 May 2015 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223278

10 years agore PR target/66140 (ICE at extract_insn, at recog.c:2343 when compiling for alpha...
Uros Bizjak [Sun, 17 May 2015 07:24:27 +0000 (09:24 +0200)] 
re PR target/66140 (ICE at extract_insn, at recog.c:2343 when compiling for alpha with gcc-5.1.1)

PR target/66140
* config/alpha/alpha.c (get_aligned_mem): Also look for reload
replacements in memory addresses.
(get_unaligned_address): Ditto.

testsuite/ChangeLog:

PR target/66140
* gcc.target/alpha/pr66140.c: New test.

From-SVN: r223266

10 years agoDaily bump.
GCC Administrator [Sun, 17 May 2015 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223263

10 years agoDaily bump.
GCC Administrator [Sat, 16 May 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223228

10 years agoDaily bump.
GCC Administrator [Fri, 15 May 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223206

10 years ago[ARM] Fix PR 65955: Do not take REGNO on non-REG operand in movcond_addsi
Kyrylo Tkachov [Thu, 14 May 2015 13:16:32 +0000 (13:16 +0000)] 
[ARM] Fix PR 65955: Do not take REGNO on non-REG operand in movcond_addsi

Backport from mainline
2015-05-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

PR target/65955
* config/arm/arm.md (movcond_addsi): Check that operands[2] is a
REG before taking its REGNO.

From-SVN: r223195

10 years agoDaily bump.
GCC Administrator [Thu, 14 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223187

10 years agoDaily bump.
GCC Administrator [Wed, 13 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223103

10 years agoS/390: Adjust zEC12 scheduling
Andreas Krebbel [Tue, 12 May 2015 11:29:35 +0000 (11:29 +0000)] 
S/390: Adjust zEC12 scheduling

* config/s390/2827.md: Split zEC12_simple into zEC12_simple_int
and zEC12_simple_fp.
* config/s390/s390.c (s390_issue_rate): Set issue rate for zEC12
to 1.

From-SVN: r223058

10 years agobackport: aarch64-elf-raw.h (CA53_ERR_843419_SPEC): Define.
Yvan Roux [Tue, 12 May 2015 08:55:54 +0000 (08:55 +0000)] 
backport: aarch64-elf-raw.h (CA53_ERR_843419_SPEC): Define.

2015-05-12  Yvan Roux  <yvan.roux@linaro.org>

Backport from mainline.
2015-05-05  Yvan Roux  <yvan.roux@linaro.org>

* config/aarch64/aarch64-elf-raw.h (CA53_ERR_843419_SPEC): Define.
(LINK_SPEC): Include CA53_ERR_843419_SPEC.
* config/aarch64/aarch64-linux.h (CA53_ERR_843419_SPEC): Define.
(LINK_SPEC): Include CA53_ERR_843419_SPEC.
* config/aarch64/aarch64.opt (mfix-cortex-a53-843419): New option.
* configure: Regenerate.
* configure.ac: Add --enable-fix-cortex-a53-843419 option.
* doc/install.texi (aarch64*-*-*): Document new
--enable-fix-cortex-a53-843419 option.
* doc/invoke.texi (AArch64 Options): Document -mfix-cortex-a53-843419
and -mno-fix-cortex-a53-843419 options.

From-SVN: r223046

10 years agoDaily bump.
GCC Administrator [Tue, 12 May 2015 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223028

10 years agoDaily bump.
GCC Administrator [Mon, 11 May 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222987

10 years agoDaily bump.
GCC Administrator [Sun, 10 May 2015 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222972

10 years agoDaily bump.
GCC Administrator [Sat, 9 May 2015 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222929

10 years agoDaily bump.
GCC Administrator [Fri, 8 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222899

10 years ago[PATCH][libstc++v3]Add new dg-require-thread-fence directive.
Renlin Li [Thu, 7 May 2015 12:54:52 +0000 (12:54 +0000)] 
[PATCH][libstc++v3]Add new dg-require-thread-fence directive.

libstdc++-v3/

2015-05-07  Renlin Li  <renlin.li@arm.com>

Backported from mainline
2015-04-22  Renlin Li  <renlin.li@arm.com>

* testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
* testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
* testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
* testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
* testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.

From-SVN: r222876

10 years agoDaily bump.
GCC Administrator [Thu, 7 May 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222867

10 years agore PR target/65990 (ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with...
Uros Bizjak [Wed, 6 May 2015 16:21:07 +0000 (18:21 +0200)] 
re PR target/65990 (ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2)

PR target/65990
* config/i386/i386.c (ix86_parse_stringop_strategy_string): Error out
if rep_8byte stringop strategy was specified for 32-bit target.

testsuite/ChangeLog:

PR target/65990
* gcc.target/i386/pr65990.c: New test.

From-SVN: r222859

10 years agoauto-fn26.C (dg-do): Use c++1y target.
Uros Bizjak [Wed, 6 May 2015 08:24:51 +0000 (10:24 +0200)] 
auto-fn26.C (dg-do): Use c++1y target.

* g++.dg/cpp1y/auto-fn26.C (dg-do): Use c++1y target.

From-SVN: r222844

10 years agobackport: re PR target/61352 (gcc 4.9.0 fails to execute dsymutil when linking execut...
Jack Howarth [Wed, 6 May 2015 00:33:49 +0000 (00:33 +0000)] 
backport: re PR target/61352 (gcc 4.9.0 fails to execute dsymutil when linking executables on darwin)

2015-05-05  Jack Howarth  <howarth.at.gcc@gmail.com>

Backport from mainline
2014-05-29  Mike Stump  <mikestump@comcast.net>
PR debug/61352
* collect2.c (maybe_run_lto_and_relink): Be sure to always run
post ld passes when lto is used.

From-SVN: r222835

10 years agoDaily bump.
GCC Administrator [Wed, 6 May 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222832

10 years agore PR go/66016 (Accessing nil Func's name results in crash)
Ian Lance Taylor [Tue, 5 May 2015 16:38:45 +0000 (16:38 +0000)] 
re PR go/66016 (Accessing nil Func's name results in crash)

PR go/66016
runtime: Don't crash in Func.Name if the Func is nil.

Related to Go issue 10696

From-SVN: r222815

10 years agobackport: re PR target/64304 (AArch64 miscompilation with -mgeneral-regs-only)
Fei Yang [Tue, 5 May 2015 15:50:18 +0000 (15:50 +0000)] 
backport: re PR target/64304 (AArch64 miscompilation with -mgeneral-regs-only)

        Backported from mainline
        2015-01-19  Jiong Wang  <jiong.wang@arm.com>
                    Andrew Pinski  <apinski@cavium.com>

        PR target/64304
        * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
        (ashl<mode>3): Don't expand if operands[2] is not constant.

From-SVN: r222812

10 years agobackport: re PR target/64579 (__TM_end __builtin_tend failed to return transactional...
Peter Bergner [Tue, 5 May 2015 14:25:35 +0000 (09:25 -0500)] 
backport: re PR target/64579 (__TM_end __builtin_tend failed to return transactional state)

gcc/

Backport from mainline.
2015-04-27  Peter Bergner  <bergner@vnet.ibm.com>

PR target/64579
* config/rs6000/htm.md: Remove all define_expands.
(UNSPECV_HTM_TABORTDC, UNSPECV_HTM_TABORTDCI, UNSPECV_HTM_TABORTWC,
UNSPECV_HTM_TABORTWCI): Remove.
(UNSPECV_HTM_TABORTXC, UNSPECV_HTM_TABORTXCI, UNSPECV_HTM_TTEST): New.
(tabort_internal, tbegin_internal, tcheck_internal, tend_internal,
trechkpt_internal, treclaim_internal, tsr_internal): Rename from this...
(tabort, tbegin, tcheck, tend, trechkpt, treclaim, tsr): ...to this.
(tabortdc_internal, tabortdci_internal, tabortwc_internal,
tabortwci_internal): Remove define_insns.
(tabort<wd>c, tabort<wd>ci): New define_insns.
(tabort): Use gpc_reg_operand.
(tcheck): Remove operand.
(htm_mfspr_<mode>, htm_mtspr_<mode>): Use GPR mode macro.
* config/rs6000/htmxlintrin.h (__TM_end): Use _HTM_TRANSACTIONAL as
expected value.
* config/rs6000/rs6000-builtin.def (BU_HTM_SPR0): Remove.
(BU_HTM_SPR1): Rename to BU_HTM_V1.  Remove use of RS6000_BTC_SPR.
(tabort, tabortdc, tabortdci, tabortwc, tabortwci, tbegin,
tcheck, tend, tendall, trechkpt, treclaim, tresume, tsuspend,
tsr, ttest): Pass in the RS6000_BTC_CR attribute.
(get_tfhar, set_tfhar, get_tfiar, set_tfiar, get_texasr, set_texasr,
get_texasru, set_texasru): Pass in the RS6000_BTC_SPR attribute.
(tcheck): Remove builtin argument.
* config/rs6000/rs6000.c (rs6000_htm_spr_icode): Use TARGET_POWERPC64
not TARGET_64BIT.
(htm_expand_builtin): Fix usage of expandedp.  Disallow usage of the
tabortdc and tabortdci builtins when not in 64-bit mode.
Modify code to handle the loss of the HTM define_expands.
Emit code to copy the CR register to TARGET.
(htm_init_builtins): Modify code to handle the loss of the HTM
define_expands.
* config/rs6000/rs6000.h (RS6000_BTC_32BIT): Delete.
(RS6000_BTC_64BIT): Likewise.
(RS6000_BTC_CR): New macro.
* doc/extend.texi: Update documentation for htm builtins.

gcc/testsuite/

Backport from mainline.
2015-04-27  Peter Bergner  <bergner@vnet.ibm.com>

PR target/64579
* gcc.target/powerpc/htm-1.c: New test.
* gcc.target/powerpc/htm-builtin-1.c (__builtin_tabortdc): Only test
on 64-bit compiles.
(__builtin_tabortdci): Likewise.
(__builtin_tcheck): Remove operand.
* lib/target-supports.exp (check_htm_hw_available): New function.

From-SVN: r222808

10 years agoDaily bump.
GCC Administrator [Tue, 5 May 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222786

10 years agoDaily bump.
GCC Administrator [Mon, 4 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222755

10 years agoconfigure.ac: Match $host configured with triplets.
Matthias Klose [Sun, 3 May 2015 17:28:00 +0000 (17:28 +0000)] 
configure.ac: Match $host configured with triplets.

2015-05-03  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Match $host configured with triplets.
        * configure: Regenerate.

From-SVN: r222748

10 years agoDaily bump.
GCC Administrator [Sun, 3 May 2015 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222744

10 years agoDaily bump.
GCC Administrator [Sat, 2 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222710

10 years agocrypto-builtin-2.c: Replace powerpc_vsx_ok with powerpc_p8vector_ok.
Bill Schmidt [Fri, 1 May 2015 03:27:23 +0000 (03:27 +0000)] 
crypto-builtin-2.c: Replace powerpc_vsx_ok with powerpc_p8vector_ok.

2015-04-30  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/crypto-builtin-2.c: Replace powerpc_vsx_ok
with powerpc_p8vector_ok.

From-SVN: r222671

10 years agoDaily bump.
GCC Administrator [Fri, 1 May 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222667

10 years agore PR tree-optimization/63551 (wrong code (segfaults) at -Os on x86_64-linux-gnu)
Marek Polacek [Thu, 30 Apr 2015 18:05:34 +0000 (18:05 +0000)] 
re PR tree-optimization/63551 (wrong code (segfaults) at -Os on x86_64-linux-gnu)

PR tree-optimization/63551
     * g++.dg/ipa/pr63551.C: New test.

From-SVN: r222652

10 years agoDaily bump.
GCC Administrator [Thu, 30 Apr 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222601

10 years agoFix OpenMP's target update directive in templated code.
Thomas Schwinge [Wed, 29 Apr 2015 09:10:13 +0000 (11:10 +0200)] 
Fix OpenMP's target update directive in templated code.

    FAIL: g++.dg/gomp/tpl-target-update.C  -std=c++98 (internal compiler error)
    FAIL: g++.dg/gomp/tpl-target-update.C  -std=c++98 (test for excess errors)
    FAIL: g++.dg/gomp/tpl-target-update.C  -std=c++11 (internal compiler error)
    FAIL: g++.dg/gomp/tpl-target-update.C  -std=c++11 (test for excess errors)
    FAIL: g++.dg/gomp/tpl-target-update.C  -std=c++14 (internal compiler error)
    FAIL: g++.dg/gomp/tpl-target-update.C  -std=c++14 (test for excess errors)

    [...]/source-gcc/gcc/testsuite/g++.dg/gomp/tpl-target-update.C: In instantiation of 'void f(T, T) [with T = int]':
    [...]/source-gcc/gcc/testsuite/g++.dg/gomp/tpl-target-update.C:19:9:   required from here
    [...]/source-gcc/gcc/testsuite/g++.dg/gomp/tpl-target-update.C:10:9: internal compiler error: tree check: expected oacc_parallel or oacc_kernels or oacc_data or oacc_host_data or omp_parallel or omp_task or omp_for or omp_simd or cilk_simd or cilk_for or omp_distribute or oacc_loop or omp_teams or omp_target_data or omp_target or omp_sections or omp_single, have omp_target_update in tsubst_expr, at cp/pt.c:14209
    0xf5aae1 tree_range_check_failed(tree_node const*, char const*, int, char const*, tree_code, tree_code)
            [...]/source-gcc/gcc/tree.c:9384
    0x66e201 tree_range_check
            [...]/source-gcc/gcc/tree.h:2979
    0x66e201 tsubst_expr
            [...]/source-gcc/gcc/cp/pt.c:14209
    0x6695e3 tsubst_expr
            [...]/source-gcc/gcc/cp/pt.c:13752
    0x66ac07 tsubst_expr
            [...]/source-gcc/gcc/cp/pt.c:13938
    0x667c41 instantiate_decl(tree_node*, int, bool)
            [...]/source-gcc/gcc/cp/pt.c:20367
    0x6ae386 instantiate_pending_templates(int)
            [...]/source-gcc/gcc/cp/pt.c:20484
    0x6edc3d cp_write_global_declarations()
            [...]/source-gcc/gcc/cp/decl2.c:4456

Backport from trunk r222564:

gcc/cp/
* pt.c (tsubst_expr) <OMP_TARGET_UPDATE>: Use
OMP_TARGET_UPDATE_CLAUSES instead of OMP_CLAUSES.
gcc/testsuite/
* g++.dg/gomp/tpl-target-update.C: New file.

From-SVN: r222566

10 years agoDaily bump.
GCC Administrator [Wed, 29 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222553

10 years agobackport: aarch64-protos.h (aarch64_classify_symbol): Fixup prototype.
Tejas Belagod [Tue, 28 Apr 2015 16:24:36 +0000 (17:24 +0100)] 
backport: aarch64-protos.h (aarch64_classify_symbol): Fixup prototype.

2015-04-28  Tejas Belagod  <tejas.belagod@arm.com>

        Backport from Mainline
        2014-11-20  Tejas Belagod  <tejas.belagod@arm.com>

        * config/aarch64/aarch64-protos.h (aarch64_classify_symbol):
        Fixup prototype.
        * config/aarch64/aarch64.c (aarch64_expand_mov_immediate,
        aarch64_cannot_force_const_mem, aarch64_classify_address,
        aarch64_classify_symbolic_expression): Fixup call to
        aarch64_classify_symbol.
        (aarch64_classify_symbol): Add range-checking for
        symbol + offset addressing for tiny and small models.

        Backport from mainline
        2014-11-20  Tejas Belagod  <tejas.belagod@arm.com>

        * gcc.target/aarch64/symbol-range.c: New.
        * gcc.target/aarch64/symbol-range-tiny.c: New.

From-SVN: r222534

10 years agoDaily bump.
GCC Administrator [Tue, 28 Apr 2015 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222494

10 years agoDaily bump.
GCC Administrator [Mon, 27 Apr 2015 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222450

10 years agoDaily bump.
GCC Administrator [Sun, 26 Apr 2015 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222442

10 years agoDaily bump.
GCC Administrator [Sat, 25 Apr 2015 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222436

10 years agobackport: re PR target/65849 (Add missing tuning knobs to #pragma target/attribute...
Michael Meissner [Fri, 24 Apr 2015 23:44:41 +0000 (23:44 +0000)] 
backport: re PR target/65849 (Add missing tuning knobs to #pragma target/attribute target support)

2015-04-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

Backport from mainline
2015-04-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/65849
* config/rs6000/rs6000.opt (-mvsx-align-128): Make options that
save to independent variables use the Save attribute.  This will
allow these options to be modified with the #pragma/attribute
target support.
(-mallow-movmisalign): Likewise.
(-mallow-df-permute): Likewise.
(-msched-groups): Likewise.
(-malways-hint): Likewise.
(-malign-branch-targets): Likewise.
(-mvectorize-builtins): Likewise.
(-msave-toc-indirect): Likewise.

* config/rs6000/rs6000.c (rs6000_opt_masks): Add more options that
can be set via the #pragma/attribute target support.
(rs6000_opt_vars): Likewise.
(rs6000_inner_target_options): If VSX was set, also set
-mno-avoid-indexed-addresses.

From-SVN: r222433

10 years agobackport: altivec.md (*altivec_lvx_<mode>_internal): Remove asterisk from name so...
Bill Schmidt [Fri, 24 Apr 2015 21:16:35 +0000 (21:16 +0000)] 
backport: altivec.md (*altivec_lvx_<mode>_internal): Remove asterisk from name so this can be generated directly.

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222385
2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/altivec.md (*altivec_lvx_<mode>_internal): Remove
asterisk from name so this can be generated directly.
(*altivec_stvx_<mode>_internal): Likewise.
* config/rs6000/rs6000.c (rs6000_emit_le_vsx_store): Add assert
that this is never called during or after reload/lra.
(rs6000_frame_related): Remove split_reg
argument and logic that references it.
(emit_frame_save): Remove last parameter from call to
rs6000_frame_related.
(rs6000_emit_prologue): Remove last parameter from eight calls to
rs6000_frame_related.  Force generation of stvx instruction for
Altivec register saves.  Remove split_reg handling, which is no
longer needed.
(rs6000_emit_epilogue):  Force generation of lvx instruction for
Altivec register restores.

From-SVN: r222428

10 years agobackport: crypto.md (crypto_vpmsum<CR_char>): Change TARGET_CRYPTO to TARGET_P8_VECTOR>
Bill Schmidt [Fri, 24 Apr 2015 20:25:36 +0000 (20:25 +0000)] 
backport: crypto.md (crypto_vpmsum<CR_char>): Change TARGET_CRYPTO to TARGET_P8_VECTOR>

[gcc]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222362
2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/crypto.md (crypto_vpmsum<CR_char>): Change
TARGET_CRYPTO to TARGET_P8_VECTOR>
(crypto_vpermxor_<mode>): Likewise.
* config/rs6000/rs6000-builtin.def (BU_CRYPTO_2A): New #define.
(BU_CRYPTO_3A): Likewise.
(BU_CRYPTO_OVERLOAD_2A): Rename from BU_CRYPTO_OVERLOAD_2.
(BU_CRYPTO_OVERLOAD_3A): New #define.
(VPMSUMB): Change from BU_CRYPTO_2 to BU_CRYPTO_2A.
(VPMSUMH): Likewise.
(VPMSUMW): Likewise.
(VPMSUMD): Likewise.
(VPERMXOR_V2DI): Change from BU_CRYPTO_3 to BU_CRYPTO_3A.
(VPERMXOR_V4SI): Likewise.
(VPERMXOR_V8HI): Likewise.
(VPERMXOR_V16QI): Likewise.
(VPMSUM): Change from BU_CRYPTO_OVERLOAD_2 to
BU_CRYPTO_OVERLOAD_2A.
(VPERMXOR): Change from BU_CRYPTO_OVERLOAD3 to
BU_CRYPTO_OVERLOAD_3A.
* config/rs6000/rs6000.opt (mcrypto): Change description of
option.

Backport from mainline r222362
2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.opt (mcrypto): Change option description to
match category changes in ISA 2.07B.

[gcc/testsuite]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222362
2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/crypto-builtin-2.c: New.

From-SVN: r222424

10 years agobackport: rs6000.c (rtx_is_swappable_p): Commentary adjustments.
Bill Schmidt [Fri, 24 Apr 2015 19:39:31 +0000 (19:39 +0000)] 
backport: rs6000.c (rtx_is_swappable_p): Commentary adjustments.

[gcc]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222351
2015-04-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rtx_is_swappable_p): Commentary
adjustments.
(insn_is_swappable_p): Return 1 for a convert from double to
single precision when all of its uses are splats of BE element
zero.

[gcc/testsuite]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222351
2015-04-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/swaps-p8-18.c: New test.

From-SVN: r222420

10 years agobackport: re PR target/65456 (powerpc64le autovectorized copy loop missed optimization)
Bill Schmidt [Fri, 24 Apr 2015 13:45:08 +0000 (13:45 +0000)] 
backport: re PR target/65456 (powerpc64le autovectorized copy loop missed optimization)

[gcc]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222349
2015-04-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/65456
* config/rs6000/rs6000.c (rs6000_option_override_internal):  For
VSX + POWER8, enable TARGET_ALLOW_MOVMISALIGN and
TARGET_EFFICIENT_UNALIGNED_VSX if not selected by command line
option.
(rs6000_builtin_mask_for_load): Return 0 for targets with
efficient unaligned VSX accesses so that the vectorizer will use
direct unaligned loads.
(rs6000_builtin_support_vector_misalignment): Always return true
for targets with efficient unaligned VSX accesses.
(rs6000_builtin_vectorization_cost): Cost of unaligned loads and
stores on targets with efficient unaligned VSX accesses is almost
always the same as the cost of an aligned load or store, so model
it that way.
* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Return 0 for
unaligned vectors if we have efficient unaligned VSX accesses.
* config/rs6000/rs6000.opt (mefficient-unaligned-vector): New
undocumented option.

[gcc/testsuite]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222349
2015-04-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/65456
* gcc.dg/vect/bb-slp-24.c: Exclude test for POWER8.
* gcc.dg/vect/bb-slp-25.c: Likewise.
* gcc.dg/vect/bb-slp-29.c: Likewise.
* gcc.dg/vect/bb-slp-32.c: Replace vect_no_align with
vect_no_align && { ! vect_hw_misalign }.
* gcc.dg/vect/bb-slp-9.c: Likewise.
* gcc.dg/vect/costmodel/ppc/costmodel-slp-33.c: Exclude test for
vect_hw_misalign.
* gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Likewise.
* gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c: Adjust tests to
account for POWER8, where peeling for alignment is not needed.
* gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Replace
vect_no_align with vect_no_align && { ! vect_hw_misalign }.
* gcc.dg.vect.if-cvt-stores-vect-ifcvt-18.c: Likewise.
* gcc.dg/vect/no-scevccp-outer-6-global.c: Likewise.
* gcc.dg/vect/no-scevccp-outer-6.c: Likewise.
* gcc.dg/vect/no-vfa-vect-43.c: Likewise.
* gcc.dg/vect/no-vfa-vect-57.c: Likewise.
* gcc.dg/vect/no-vfa-vect-61.c: Likewise.
* gcc.dg/vect/no-vfa-vect-depend-1.c: Likewise.
* gcc.dg/vect/no-vfa-vect-depend-2.c: Likewise.
* gcc.dg/vect/no-vfa-vect-depend-3.c: Likewise.
* gcc.dg/vect/pr16105.c: Likewise.
* gcc.dg/vect/pr20122.c: Likewise.
* gcc.dg/vect/pr33804.c: Likewise.
* gcc.dg/vect/pr33953.c: Likewise.
* gcc.dg/vect/pr56787.c: Likewise.
* gcc.dg/vect/pr58508.c: Likewise.
* gcc.dg/vect/slp-25.c: Likewise.
* gcc.dg/vect/vect-105-bit-array.c: Likewise.
* gcc.dg/vect/vect-105.c: Likewise.
* gcc.dg/vect/vect-27.c: Likewise.
* gcc.dg/vect/vect-29.c: Likewise.
* gcc.dg/vect/vect-33.c: Exclude unaligned access test for
POWER8.
* gcc.dg/vect/vect-42.c: Replace vect_no_align with vect_no_align
&& { ! vect_hw_misalign }.
* gcc.dg/vect/vect-44.c: Likewise.
* gcc.dg/vect/vect-48.c: Likewise.
* gcc.dg/vect/vect-50.c: Likewise.
* gcc.dg/vect/vect-52.c: Likewise.
* gcc.dg/vect/vect-56.c: Likewise.
* gcc.dg/vect/vect-60.c: Likewise.
* gcc.dg/vect/vect-72.c: Likewise.
* gcc.dg/vect/vect-75-big-array.c: Likewise.
* gcc.dg/vect/vect-75.c: Likewise.
* gcc.dg/vect/vect-77-alignchecks.c: Likewise.
* gcc.dg/vect/vect-77-global.c: Likewise.
* gcc.dg/vect/vect-78-alignchecks.c: Likewise.
* gcc.dg/vect/vect-78-global.c: Likewise.
* gcc.dg/vect/vect-93.c: Likewise.
* gcc.dg/vect/vect-95.c: Likewise.
* gcc.dg/vect/vect-96.c: Likewise.
* gcc.dg/vect/vect-cond-1.c: Likewise.
* gcc.dg/vect/vect-cond-3.c: Likewise.
* gcc.dg/vect/vect-cond-4.c: Likewise.
* gcc.dg/vect/vect-cselim-1.c: Likewise.
* gcc.dg/vect/vect-multitypes-1.c: Likewise.
* gcc.dg/vect/vect-multitypes-3.c: Likewise.
* gcc.dg/vect/vect-multitypes-4.c: Likewise.
* gcc.dg/vect/vect-multitypes-6.c: Likewise.
* gcc.dg/vect/vect-nest-cycle-1.c: Likewise.
* gcc.dg/vect/vect-nest-cycle-2.c: Likewise.
* gcc.dg/vect/vect-outer-3a-big-array.c: Likewise.
* gcc.dg/vect/vect-outer-3a.c: Likewise.
* gcc.dg/vect/vect-outer-5.c: Likewise.
* gcc.dg/vect/vect-outer-fir-big-array.c: Likewise.
* gcc.dg/vect/vect-outer-fir-lb-big-array.c: Likewise.
* gcc.dg/vect/vect-outer-fir-lb.c: Likewise.
* gcc.dg/vect/vect-outer-fir.c: Likewise.
* gcc.dg/vect/vect-peel-3.c: Likewise.
* gcc.dg/vect/vect-peel-4.c: Likewise.
* gcc.dg/vect/vect-pre-interact.c: Likewise.
* gcc.target/powerpc/pr65456.c: New test.
* gcc.target/powerpc/vsx-vectorize-2.c: Exclude test for POWER8.
* gcc.target/powerpc/vsx-vectorize-4.c: Likewise.
* gcc.target/powerpc/vsx-vectorize-6.c: Likewise.
* gcc.target/powerpc/vsx-vectorize-7.c: Likewise.
* gfortran.dg/vect/vect-2.f90: Replace vect_no_align with
vect_no_align && { ! vect_hw_misalign }.
* gfortran.dg/vect/vect-3.f90: Likewise.
* gfortran.dg/vect/vect-4.f90: Likewise.
* gfortran.dg/vect/vect-5.f90: Likewise.
* lib/target-supports.exp (check_effective_target_vect_no_align):
Return 1 for POWER8.
(check_effective_target_vect_hw_misalign): Return 1 for POWER8.

Backport from mainline r222372
2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c: Replace
vect_no_align with vect_no_align && { ! vect_hw_misalign }.

From-SVN: r222412

10 years agoDaily bump.
GCC Administrator [Fri, 24 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222389

10 years agore PR c++/65727 (Segfault With Decltype In Lambda Expression Used To Initialize Stati...
Marek Polacek [Thu, 23 Apr 2015 13:21:22 +0000 (13:21 +0000)] 
re PR c++/65727 (Segfault With Decltype In Lambda Expression Used To Initialize Static Class Member)

PR c++/65727
* lambda.c (maybe_resolve_dummy): Handle null return.

From-SVN: r222368

10 years agore PR c++/65695 (NSDMI calling constexpr constructor with pointer-to-member is not...
Jason Merrill [Thu, 23 Apr 2015 13:21:17 +0000 (09:21 -0400)] 
re PR c++/65695 (NSDMI calling constexpr constructor with pointer-to-member is not a constant expression)

PR c++/65695
* cvt.c (cp_fold_convert): Avoid wrapping PTRMEM_CST in NOP_EXPR.

From-SVN: r222367

10 years agore PR c++/65721 (Internal compiler error segmentation fault)
Jason Merrill [Thu, 23 Apr 2015 13:21:11 +0000 (09:21 -0400)] 
re PR c++/65721 (Internal compiler error segmentation fault)

PR c++/65721
* name-lookup.c (do_class_using_decl): Complain about specifying
the current class even if there are dependent bases.

From-SVN: r222366

10 years agore PR c++/59766 (c++1y: declaring friend function with 'auto' return type deduction...
David Krauss [Thu, 23 Apr 2015 13:21:06 +0000 (13:21 +0000)] 
re PR c++/59766 (c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason)

PR c++/59766
* decl.c (grokdeclarator): Do not flag friends with deduced return.

From-SVN: r222365

10 years agoDaily bump.
GCC Administrator [Thu, 23 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222346

10 years agoDaily bump.
GCC Administrator [Wed, 22 Apr 2015 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222290

10 years agoDaily bump.
GCC Administrator [Tue, 21 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222252

10 years agoDaily bump.
GCC Administrator [Mon, 20 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222225

10 years agobackport: re PR target/65787 (Miscompile due to bad vector swap optimization for...
Bill Schmidt [Sun, 19 Apr 2015 16:51:12 +0000 (16:51 +0000)] 
backport: re PR target/65787 (Miscompile due to bad vector swap optimization for little endian)

[gcc]

2015-04-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
    Jakub Jelinek  <jakub@redhat.com>

Backport from mainline r222205
2015-04-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
            Jakub Jelinek  <jakub@redhat.com>

PR target/65787
* config/rs6000/rs6000.c (rtx_is_swappable_p): Ensure that a
subsequent SH_NONE operand does not overwrite an existing *special
value.
(adjust_extract): Handle case where a vec_extract operation is
wrapped in a PARALLEL.

[gcc/testsuite]

2015-04-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222205
2015-04-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/65787
* gcc.target/powerpc/pr65787.c: New.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r222221

10 years agoDaily bump.
GCC Administrator [Sun, 19 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222216

10 years agoDaily bump.
GCC Administrator [Sat, 18 Apr 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222210