[Bug middle-end/67438] [6 Regression] ~X op ~Y pattern relocation causes loop performance degradation on 32bit x86

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67438

--- Comment #14 from Richard Biener  ---
Author: rguenth
Date: Fri Dec  4 08:09:46 2015
New Revision: 231245

URL: https://gcc.gnu.org/viewcvs?rev=231245=gcc=rev
Log:
2015-12-04  Richard Biener  

PR middle-end/67438
* match.pd: Guard ~X cmp ~Y -> Y cmp X and the variant with
a constant with single_use.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/match.pd

[Bug middle-end/67438] [6 Regression] ~X op ~Y pattern relocation causes loop performance degradation on 32bit x86

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67438

Richard Biener  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #13 from Richard Biener  ---
Fixed.

[Bug testsuite/67948] xor-and.c needs updating after r228661

2015-12-04 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67948

--- Comment #5 from Thomas Preud'homme  ---
Author: thopre01
Date: Fri Dec  4 08:36:07 2015
New Revision: 231249

URL: https://gcc.gnu.org/viewcvs?rev=231249=gcc=rev
Log:
2015-12-04  Andre Vieira 

Backport from mainline:
2015-10-15  Andre Vieira  

PR testsuite/67948
* gcc.target/arm/xor-and.c: check for eor instead of orr.

Modified:
branches/ARM/embedded-5-branch/gcc/testsuite/ChangeLog
branches/ARM/embedded-5-branch/gcc/testsuite/gcc.target/arm/xor-and.c

[Bug rtl-optimization/68636] [5 Regression] unnecessary unaligned load on mips o32

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68636

Richard Biener  changed:

   What|Removed |Added

  Known to work||6.0
Summary|[5/6 Regression]|[5 Regression] unnecessary
   |unnecessary unaligned load  |unaligned load on mips o32
   |on mips o32 |
  Known to fail||5.3.0

--- Comment #8 from Richard Biener  ---
Fixed on trunk sofar.

[Bug rtl-optimization/68636] [5 Regression] unnecessary unaligned load on mips o32

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68636

--- Comment #9 from Richard Biener  ---
Author: rguenth
Date: Fri Dec  4 08:17:50 2015
New Revision: 231246

URL: https://gcc.gnu.org/viewcvs?rev=231246=gcc=rev
Log:
2015-12-04  Richard Biener  

PR middle-end/68636
* builtins.c (get_pointer_alignment_1): Take care of byte to
bit alignment computation overflow.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c

[Bug target/61810] init-regs.c papers over issues elsewhere

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61810

--- Comment #3 from Richard Biener  ---
After the testsuite fixes current trunk on x86_64 shows the following
regressions
(bootstrap and test for all languages including Ada, Go and Obj-C++, testing
with {,-m32})

=== gcc tests ===

Running target unix/
UNRESOLVED: gcc.dg/lto/pr48622 c_lto_pr48622_0.o-c_lto_pr48622_0.o execute -O
-flto -finline-small-functions -fno-early-inlining
FAIL: gcc.dg/lto/pr48622 c_lto_pr48622_0.o-c_lto_pr48622_0.o link, -O -flto
-finline-small-functions -fno-early-inlining
FAIL: gcc.target/i386/extract-insert-combining.c scan-assembler-times
(?:vmovd|movd)[ t]+[^{\\n]*%xmm[0-9] 3
FAIL: gcc.target/i386/extract-insert-combining.c scan-assembler-times
(?:vpinsrd|pinsrd)[ t]+[^{\\n]*%xmm[0-9] 1

Running target unix//-m32
UNRESOLVED: gcc.dg/lto/pr48622 c_lto_pr48622_0.o-c_lto_pr48622_0.o execute -O
-flto -finline-small-functions -fno-early-inlining
FAIL: gcc.dg/lto/pr48622 c_lto_pr48622_0.o-c_lto_pr48622_0.o link, -O -flto
-finline-small-functions -fno-early-inlining
FAIL: gcc.dg/torture/pr54098.c   -Os  (internal compiler error)
FAIL: gcc.dg/torture/pr54098.c   -Os  (test for excess errors)
FAIL: gcc.target/i386/extract-insert-combining.c scan-assembler-times
(?:vmovd|movd)[ t]+[^{\\n]*%xmm[0-9] 3
FAIL: gcc.target/i386/extract-insert-combining.c scan-assembler-times
(?:vpinsrd|pinsrd)[ t]+[^{\\n]*%xmm[0-9] 1
FAIL: gcc.target/i386/pr22152.c scan-assembler-times movq[ t]+[^\\n]*%mm 1

=== libgo Summary for unix ===

# of expected passes133

Running target unix/-m32
FAIL: math

=== libgomp Summary for unix/ ===

Running target unix//-m32
FAIL: libgomp.c++/target-6.C execution test

=== libstdc++ tests ===

Running target unix/
FAIL: experimental/propagate_const/cons/default.cc execution test

Running target unix//-m32
FAIL: experimental/propagate_const/cons/default.cc execution test

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655

--- Comment #12 from Jakub Jelinek  ---
Author: jakub
Date: Fri Dec  4 08:25:24 2015
New Revision: 231247

URL: https://gcc.gnu.org/viewcvs?rev=231247=gcc=rev
Log:
PR target/68655
* config/i386/i386.c (canonicalize_vector_int_perm): New function.
(expand_vec_perm_1): Use it and recurse if everything else
failed.  Use nd.perm instead of perm2.
(expand_vec_perm_even_odd_1): If testing_p, use gen_raw_REG
instead of gen_lowpart for the target.
(ix86_expand_vec_perm_const_1): Use canonicalize_vector_int_perm
and recurse if everything else failed.

* gcc.dg/torture/vshuf-4.inc (TESTS): Add one extra test.
* gcc.dg/torture/vshuf-4.inc (TESTS): Add two extra tests.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/torture/vshuf-4.inc
trunk/gcc/testsuite/gcc.dg/torture/vshuf-8.inc

[Bug rtl-optimization/68691] ICE at -O3 with -g enabled on x86_64-linux-gnu in alter_subregs, at lra-spills.c:610 (in 32-bit mode)

2015-12-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68691

ktkachov at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-12-04
 Ever confirmed|0   |1

--- Comment #2 from ktkachov at gcc dot gnu.org ---
Reproduces for me on x86_64-pc-linux-gnu built with --disable-multilib
--disable-bootstrap --enable-languages=c,c++,fortran with the flags -O3 -g
-m32.

My tree is based on r231167

[Bug target/68214] gcc.dg/cwsc1.c fails on arm-none-eabi

2015-12-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68214

ktkachov at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from ktkachov at gcc dot gnu.org ---
Fixed on trunk.

[Bug target/63891] [5/6 regression] Failure of darwin-weakimport-3.c

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63891

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #9 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #36 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug go/66368] [5 Regression] go tool crashes on powerpc-linux-gnu

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66368

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #10 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug libstdc++/60555] std::system_category().default_error_condition() doesn't map system errno values to std::generic_category()

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60555

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #5 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c/48116] -Wreturn-type does not work as advertised

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48116

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #8 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/68269] [5/6 regression] FAIL: gcc.dg/pr68129_1.c (internal compiler error)

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68269

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #6 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug tree-optimization/63734] [5.0 regression] FAIL: gcc.dg/torture/vshuf-v8qi.c -O2 (internal compiler error)

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63734

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #5 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug rtl-optimization/65932] [5 Regression] Linux-3.10.75 on arm926ej-s does not boot due to wrong code generation

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65932

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #23 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug libstdc++/57060] std::this_thread::get_id() == std::thread::id::id() without -pthread

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57060

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug middle-end/63184] [4.9/5/6 Regression] Fails to simplify comparison

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63184

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #6 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/66358] [5/6 Regression] [SH] ICE: in extract_constrain_insn, at recog.c:2232

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66358

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #18 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug fortran/67076] [5/6 Regression] Critical inside a module procedure

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67076

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #2 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/67478] gcc-5.1.0/gcc-5.2.0 undefined symbol std::__once_callable in AIX 6.1

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67478

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #6 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug debug/63572] [5/6 Regression] ICF breaks user debugging experience

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63572

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #16 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug lto/66027] lto1: internal compiler error: in odr_types_equivalent_p

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66027

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #11 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c++/68585] [5/6 Regression] c++14 code accepted by 4.9 not accepted by 5 and 6

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68585

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #5 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug tree-optimization/68583] [5/6 Regression] Missed if-conversion

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68583

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #1 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug debug/67355] [5 Regression] ICE compiling LTP testcase, endless cselib recursion from var-tracking

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67355

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #8 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c/63782] avoid implicit declaration warning for incompatible builtin implicit declaration

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63782

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug testsuite/63256] [5/6 regression] FAIL: gcc.dg/sms-8.c scan-rtl-dump-times sms "SMS succeeded" 0

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63256

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #8 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug libstdc++/64054] 27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc FAILs

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64054

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #17 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c++/61940] Wrong error location for error in initialization list

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61940

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #6 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug tree-optimization/66868] [5 Regression] wrong code generated with -O3 (dead code removal?)

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66868

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #14 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/66047] vlc compilation failure with target attribute

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66047

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #9 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c/65345] ICE with _Generic selection on _Atomic int

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65345

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #26 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug sanitizer/64289] ICE with -fsanitize=float-cast-overflow

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64289

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #5 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c++/68309] [5/6 Regression] ICE: Segmentation fault

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68309

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug ipa/65076] [5/6 Regression] 16% tramp3d-v4.cpp compile time regression

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #60 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug libstdc++/66145] [5/6 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #8 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug web/62211] ./configure --with-float= and ARM

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62211

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/60949] Thumb2 LRA ICE for case pr34856.c

2015-12-04 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60949

Ramana Radhakrishnan  changed:

   What|Removed |Added

 Status|ASSIGNED|WAITING
   Assignee|ramana at gcc dot gnu.org  |unassigned at gcc dot 
gnu.org

--- Comment #5 from Ramana Radhakrishnan  ---
I can no longer reproduce this on the head of the GCC 5 tree.

[Bug middle-end/65958] -fstack-check breaks alloca on architectures using generic stack checking

2015-12-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65958

--- Comment #7 from Eric Botcazou  ---
Author: ebotcazou
Date: Fri Dec  4 11:57:15 2015
New Revision: 231260

URL: https://gcc.gnu.org/viewcvs?rev=231260=gcc=rev
Log:
PR middle-end/65958
* gimplify.c (struct gimplify_ctx): Turn boolean fields into 1-bit
fields, add keep_stack and reorder them.
(gimplify_bind_expr): Save gimplify_ctxp->keep_stack on entry then
set it to false.  Do not insert a stack save/restore pair if it has
been set to true by the gimplification of the statements.
Restore it to the saved value on exit if it is still false.
(gimplify_vla_decl): Do not set gimplify_ctxp->save_stack here.
(gimplify_call_expr) : New case.  Set
either save_stack or keep_stack depending on CALL_ALLOCA_FOR_VAR_P.
* doc/extend.texi (Variable Length): Document new behavior.
* doc/generic.texi (Blocks): Document new handling of VLAs.

Added:
trunk/gcc/testsuite/gcc.dg/vla-24.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/extend.texi
trunk/gcc/doc/generic.texi
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog

[Bug target/68655] SSE2 cannot vec_perm of low and high part

2015-12-04 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655

--- Comment #13 from rguenther at suse dot de  ---
On Fri, 4 Dec 2015, jakub at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655
> 
> --- Comment #12 from Jakub Jelinek  ---
> Author: jakub
> Date: Fri Dec  4 08:25:24 2015
> New Revision: 231247
> 
> URL: https://gcc.gnu.org/viewcvs?rev=231247=gcc=rev
> Log:
> PR target/68655
> * config/i386/i386.c (canonicalize_vector_int_perm): New function.
> (expand_vec_perm_1): Use it and recurse if everything else
> failed.  Use nd.perm instead of perm2.
> (expand_vec_perm_even_odd_1): If testing_p, use gen_raw_REG
> instead of gen_lowpart for the target.
> (ix86_expand_vec_perm_const_1): Use canonicalize_vector_int_perm
> and recurse if everything else failed.
> 
> * gcc.dg/torture/vshuf-4.inc (TESTS): Add one extra test.
> * gcc.dg/torture/vshuf-4.inc (TESTS): Add two extra tests.
> 
> Modified:
> trunk/gcc/ChangeLog
> trunk/gcc/config/i386/i386.c
> trunk/gcc/testsuite/ChangeLog
> trunk/gcc/testsuite/gcc.dg/torture/vshuf-4.inc
> trunk/gcc/testsuite/gcc.dg/torture/vshuf-8.inc

Thanks.  The original testcase from PR66051 improves (with plain SSE2)
to

.L4:
movdqu  (%r8), %xmm0
movdqa  %xmm2, %xmm5
movdqa  %xmm2, %xmm4
addl$1, %r10d
movdqu  16(%r8), %xmm3
addq$32, %r9
movdqa  %xmm0, %xmm1
addq$32, %r8
punpckhqdq  %xmm3, %xmm0
punpcklqdq  %xmm3, %xmm1
pcmpgtw %xmm0, %xmm5
movdqa  %xmm0, %xmm3
pcmpgtw %xmm1, %xmm4
movdqa  %xmm1, %xmm6
punpcklwd   %xmm5, %xmm3
punpcklwd   %xmm4, %xmm6
punpckhwd   %xmm5, %xmm0
punpckhwd   %xmm4, %xmm1
paddd   %xmm6, %xmm3
movups  %xmm3, -32(%r9)
paddd   %xmm1, %xmm0
movups  %xmm0, -16(%r9)
cmpl%ecx, %r10d
jb  .L4

from the following (ugh).  More SLP is always nice (esp. for low-
tripcount loops).  The above has an unrolling factor of two
while below we need 8 ...

.L4:
movdqu  (%r9), %xmm4
addl$1, %r10d
subq$-128, %r9
subq$-128, %r8
movdqu  -112(%r9), %xmm8
movdqa  %xmm4, %xmm0
movdqa  %xmm4, %xmm1
punpcklwd   %xmm8, %xmm0
movdqu  -96(%r9), %xmm6
punpckhwd   %xmm8, %xmm1
punpcklwd   %xmm8, %xmm4
movdqu  -80(%r9), %xmm9
movdqa  %xmm0, %xmm11
movdqa  %xmm6, %xmm8
punpcklwd   %xmm1, %xmm0
punpckhwd   %xmm1, %xmm11
punpcklwd   %xmm9, %xmm8
movdqu  -64(%r9), %xmm2
punpcklwd   %xmm1, %xmm4
movdqa  %xmm6, %xmm1
punpcklwd   %xmm9, %xmm6
movdqu  -48(%r9), %xmm5
punpckhwd   %xmm9, %xmm1
movdqa  %xmm2, %xmm9
punpcklwd   %xmm11, %xmm0
punpckhwd   %xmm11, %xmm4
movdqa  %xmm8, %xmm11
punpcklwd   %xmm5, %xmm9
punpckhwd   %xmm1, %xmm11
movdqu  -32(%r9), %xmm3
punpcklwd   %xmm1, %xmm8
punpcklwd   %xmm1, %xmm6
movdqa  %xmm2, %xmm1
punpcklwd   %xmm5, %xmm2
punpckhwd   %xmm5, %xmm1
movdqu  -16(%r9), %xmm10
punpcklwd   %xmm11, %xmm8
punpckhwd   %xmm11, %xmm6
movdqa  %xmm9, %xmm11
punpcklwd   %xmm1, %xmm2
punpckhwd   %xmm1, %xmm11
movdqa  %xmm3, %xmm5
punpcklwd   %xmm1, %xmm9
movdqa  %xmm3, %xmm1
punpckhwd   %xmm10, %xmm5
punpcklwd   %xmm10, %xmm3
punpcklwd   %xmm10, %xmm1
movdqa  %xmm0, %xmm10
punpcklwd   %xmm11, %xmm9
punpckhwd   %xmm11, %xmm2
movdqa  %xmm1, %xmm11
punpcklwd   %xmm5, %xmm3
punpcklwd   %xmm5, %xmm1
punpckhwd   %xmm5, %xmm11
movdqa  %xmm0, %xmm5
punpckhwd   %xmm8, %xmm10
punpcklwd   %xmm8, %xmm5
punpcklwd   %xmm8, %xmm0
movdqa  %xmm9, %xmm8
punpcklwd   %xmm11, %xmm1
punpckhwd   %xmm11, %xmm3
movdqa  %xmm5, %xmm11
punpcklwd   %xmm10, %xmm0
punpckhwd   %xmm10, %xmm11
punpcklwd   %xmm10, %xmm5
punpckhwd   %xmm1, %xmm8
punpckhwd   %xmm11, %xmm0
punpcklwd   %xmm11, %xmm5
movdqa  %xmm9, %xmm11
punpcklwd   %xmm1, %xmm9
punpcklwd   %xmm1, %xmm11
movdqa  %xmm4, %xmm1
punpcklwd   %xmm8, %xmm9
movdqa  %xmm11, %xmm10
punpcklwd   %xmm6, %xmm1
punpcklwd   %xmm8, %xmm11
punpckhwd   %xmm8, %xmm10
movdqa  %xmm4, %xmm8
punpcklwd   %xmm6, %xmm4
punpckhwd   %xmm6, %xmm8
movdqa  %xmm2, %xmm6
punpcklwd   

[Bug fortran/68560] [6 Regression] The test gfortran.dg/shape_8.f90 now fails when compiled with -flto

2015-12-04 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68560

--- Comment #11 from Mikael Morin  ---
(In reply to Dominique d'Humieres from comment #10)
> >I can't test this right now (bootstrap broken).
> 
> Sorry about that. Anything serious?
> 
Looks like it's PR68540.

[Bug fortran/45859] [Coarray, F2008, IR] Rejects valid actuals to coarray dummies

2015-12-04 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45859

Tobias Burnus  changed:

   What|Removed |Added

 Status|WAITING |NEW

--- Comment #6 from Tobias Burnus  ---
(In reply to Dominique d'Humieres from comment #5)
> > TODO: Wait for the result of the IR.

It's now available under "F08/0048" at
ftp://ftp.nag.co.uk/sc22wg5/N1951-N2000/N1959.txt - published as Corrigendum 2
to Fortran 2008.

> From my version of the Fortran 2015 draft
> 2 If the dummy argument is an array coarray that has the CONTIGUOUS attribute
>   or is not of assumed shape, the corresponding actual argument shall be
> simply
>   contiguous or an element of a simply contiguous array.
> 
> Does it means that gfortran is correct?

No - the code is valid. The added wording was "an element of a simply
contiguous array" - and the example from comment 0 ("call sub (x(10))") is the
latter.

[Bug fortran/68676] ICE in gfc_match_formal_arglist when compiling gfortran.dg/submodule_10.f08

2015-12-04 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68676

--- Comment #5 from paul.richard.thomas at gmail dot com  ---
As promised, I am working to fix this. Thanks for your contributions.

Paul

On 4 December 2015 at 10:59, ubizjak at gmail dot com
 wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68676
>
> --- Comment #4 from Uroš Bizjak  ---
> (In reply to Dominique d'Humieres from comment #1)
>> See the thread starting at
>> https://gcc.gnu.org/ml/fortran/2015-12/msg00030.html.
>>
>> Note that I don't see these failures on x86_64-apple-darwin14 (no valgrind
>> error).
>
> Please try the following patch. Using this patch, the compiler crashes 
> reliably
> for me, even on x86_64-linux where it didn't crash before.
>
> --cut here--
> Index: decl.c
> ===
> --- decl.c  (revision 231250)
> +++ decl.c  (working copy)
> @@ -4692,7 +4692,7 @@ gfc_match_formal_arglist (gfc_symbol *progname, in
>  {
>gfc_formal_arglist *head, *tail, *p, *q;
>char name[GFC_MAX_SYMBOL_LEN + 1];
> -  gfc_symbol *sym;
> +  gfc_symbol *sym = NULL;
>match m;
>gfc_formal_arglist *formal = NULL;
>
> --cut here--
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

[Bug c/56724] sub-optimal location in error

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #19 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/64785] [5/6 Regression][SH] and|or|xor #imm not used

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64785

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #10 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c++/56480] Explicit specialization in a namespace enclosing the specialized template

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #8 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/60949] Thumb2 LRA ICE for case pr34856.c

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60949

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug ipa/66223] [5/6 Regression] Diagnostic of pure virtual function call broken, including __cxa_pure_virtual

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66223

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #5 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #7 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c++/67257] [5/6 regression] Internal compiler error in retrieve_specialization

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67257

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #3 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug fortran/67451] [5/6 Regression] ICE with sourced allocation from coarray.

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67451

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #2 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug tree-optimization/65337] [5/6 Regression] bootstrap-lto gnat1 linktime ICE: gcc/ada/exp_aggr.adb:6570:0: internal compiler error: in forward_edge_to_pdom, at tree-ssa-dce.c:1086

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65337

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #12 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug libstdc++/52389] Allocation/deallocation across DLL boundary in std::locale

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52389

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #6 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug middle-end/68339] g++.dg/vect/simd-clone-2.cc ICEs with aggressive GC settings and OpenMP

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68339

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c++/58796] throw nullptr not caught by catch(type*)

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58796

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #7 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug tree-optimization/68673] Handle __builtin_GOMP_task optimally in ipa-pta

2015-12-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68673

--- Comment #7 from vries at gcc dot gnu.org ---
The constraints generated for the GOMP_task call look ok to me:
...
_Z2f3v._omp_cpyfn.1.arg0 = _CPFN_TMP.0+64
_Z2f3v._omp_cpyfn.1.arg1 = &.omp_data_o.2.0+64

_Z2f3v._omp_fn.0.arg0 = _CPFN_TMP.0+64
...

And we seem to be able to conclude that the loads and stores in
_Z2f3v._omp_fn.0 point to a, b and c:
...
_12 = { ESCAPED NONLOCAL a }
_14 = { ESCAPED NONLOCAL b }
_16 = { ESCAPED NONLOCAL c }
...
But AFAIU, the escaped/nonlocal bit causes the optimization to fail.

I'm not sure yet if the escaped/nonlocal bit is:
- too conservative, or
- actually necessary (due to either GOMP_task, or the testcase).

[Bug c/63782] avoid implicit declaration warning for incompatible builtin implicit declaration

2015-12-04 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63782

Manuel López-Ibáñez  changed:

   What|Removed |Added

   Target Milestone|5.4 |---

--- Comment #5 from Manuel López-Ibáñez  ---
Only regressions have target milestone.

[Bug c++/67337] [4.9/5 Regression] Segmentation fault on a template class

2015-12-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67337

Markus Trippelsdorf  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Markus Trippelsdorf  ---
fixed

[Bug middle-end/65958] -fstack-check breaks alloca on architectures using generic stack checking

2015-12-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65958

Eric Botcazou  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Eric Botcazou  ---
Fixed in GCC 6 for all architectures (and doubly so for ARM and Aarch64).

[Bug testsuite/68681] [6 Regression] testcase gcc.dg/vect/pr45752.c fails on AArch64

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68681

--- Comment #3 from Richard Biener  ---
Author: rguenth
Date: Fri Dec  4 09:56:28 2015
New Revision: 231253

URL: https://gcc.gnu.org/viewcvs?rev=231253=gcc=rev
Log:
2015-12-04  Richard Biener  

PR testsuite/68681
* gcc.dg/vect/pr45752.c: Add --param tree-reassoc-width=1.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/vect/pr45752.c

[Bug testsuite/68681] [6 Regression] testcase gcc.dg/vect/pr45752.c fails on AArch64

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68681

Richard Biener  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Richard Biener  ---
Fixed.

[Bug fortran/52052] [Coarray] Properly handle coarray components of derived types

2015-12-04 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52052

Tobias Burnus  changed:

   What|Removed |Added

 Status|WAITING |NEW

--- Comment #4 from Tobias Burnus  ---
(In reply to Dominique d'Humieres from comment #3)
> Patch committed more than two years ago. Any reason to keep this PR opened?

Well, most items of comment 0 still apply, only the avoid-auto-reallocation
bits (comment 1) have been committed.

[Bug fortran/49566] [DWARF/DEBUG] Add coarray shapes (codimensions) to the debug output

2015-12-04 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49566

--- Comment #2 from Tobias Burnus  ---
(In reply to Dominique d'Humieres from comment #1)
> Any progress?

Yes - they are part of DWARF 5, unfortunately, the draft is not yet publicly
available.

[Bug go/64900] gotools don't link on Solaris 11/x86

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64900

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #6 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug rtl-optimization/66076] [5 Regression] ICE: in vec_safe_grow, at vec.h:618 with -funroll-loops -mno-prefer-avx128 -march=bdver4

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66076

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #5 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/65210] [avr] ICE: when using attributs 'address' and 'io_low'

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65210

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c++/65876] [6 Regression] [C++11] ICE in cxx_eval_call_expression, at cp/constexpr.c:1358

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65876

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #5 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/62281] gcc doesn't conform to Solaris 32-bit ABI by expecting 16-byte stack alignment

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62281

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #10 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug other/67893] [5 Regression] memory hog building a C++ file (on x86_64-linux-gnu)

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67893

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #9 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/64792] [5/6 Regression][SH] movu.b movu.w not working

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64792

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #3 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug ada/65618] [5/6 Regression] gnat bootstrap comparison failure on mips{,el}-linux-gnu

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65618

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug middle-end/64182] wide-int rounding division is broken

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64182

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #14 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c/49706] No warning for (!x > 1) which is always false

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49706

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #9 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug testsuite/60806] libstdc++ abi check should ignore missing TLS symbols

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60806

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/65164] [5/6 Regression][SH] missed subc in integer sign function

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65164

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #3 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c++/68578] [5 Regression] ICE on invalid template declaration and instantiation

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68578

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug debug/65771] ICE (in loc_list_from_tree, at dwarf2out.c:14964) on arm-linux-gnueabihf

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65771

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #17 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug other/63630] [5.0 Regression] ICE: in spill_failure, at reload1.c:2122. unable to find a register to spill in class 'POINTER_REGS'

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63630

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug tree-optimization/64058] [5/6 Regression] Performance degradation after r216304

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64058

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #8 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug rtl-optimization/64081] [5/6 Regression] r217827 prevents RTL loop unroll

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64081

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #18 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug ipa/65873] Failure to inline always_inline memcpy

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65873

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #13 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug middle-end/65702] [5/6 Regression] ICE (tree check: expected ssa_name, have var_decl in expand_gimple_basic_block, at cfgexpand.c:5506) on arm-linux-gnueabihf

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65702

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #9 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c++/60615] bad location in error from initializer

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60615

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #4 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug target/61079] #pragma fini doesn't apply without definition

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61079

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|5.3 |5.4

--- Comment #3 from Richard Biener  ---
GCC 5.3 is being released, adjusting target milestone.

[Bug c/56724] sub-optimal location in error

2015-12-04 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724

Manuel López-Ibáñez  changed:

   What|Removed |Added

 CC|manu at gcc dot gnu.org|
   Target Milestone|5.4 |---

--- Comment #20 from Manuel López-Ibáñez  ---
Only regressions have target milestone.

[Bug tree-optimization/65964] [meta] Operand Shortening

2015-12-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65964
Bug 65964 depends on bug 65958, which changed state.

Bug 65958 Summary: -fstack-check breaks alloca on architectures using generic 
stack checking
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65958

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug c++/58796] throw nullptr not caught by catch(type*)

2015-12-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58796

Jonathan Wakely  changed:

   What|Removed |Added

   Target Milestone|5.4 |6.0

[Bug ipa/64812] [4.9 regression] x86 LibreOffice Build failure: undefined reference to acquire

2015-12-04 Thread mstahl at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64812

--- Comment #14 from Michael Stahl  ---
(In reply to Jan Hubicka from comment #12)
> the devirtualization seems valid to me.  You are supposed to link with the
> implementaiton of the class.  It is possible to overwrite this by manually
> setting the visibility.

actual code in LibreOffice *did* link with the implementation of the class -
there were 2 libraries involved, "toolkit" contained the implementation of
ListenerMultiplexerBase and "svxcore" linked against it;
ListenerMultiplexerBase has __attribute__ ((visibility("default"))) so its
member functions should be exported.

the member functions in question (acquire and release) are inline, and i was
assuming that it's ok then that they are not exported from the library
containing the impl. of the class, but if you say that linking needs to happen
anyway then maybe the bug is that the inline functions are not exported from
the "toolkit" library by GCC.

[Bug libstdc++/61458] std::aligned_storage is bigger than expected

2015-12-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61458

Jonathan Wakely  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|5.4 |---

--- Comment #9 from Jonathan Wakely  ---
I don't think it's necessary to change anything.

[Bug rtl-optimization/68691] ICE at -O3 with -g enabled on x86_64-linux-gnu in alter_subregs, at lra-spills.c:610 (in 32-bit mode)

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68691

Richard Biener  changed:

   What|Removed |Added

 Target||i?86-*-*

--- Comment #1 from Richard Biener  ---
Hmm, doesn't reproduce for me.

[Bug tree-optimization/68682] [6 Regression] [graphite] loop interchange no longer working after r227277

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68682

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |6.0

[Bug tree-optimization/68694] New: SLP loads should be permuted until supported if possible

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68694

Bug ID: 68694
   Summary: SLP loads should be permuted until supported if
possible
   Product: gcc
   Version: 6.0
Status: UNCONFIRMED
  Keywords: missed-optimization
  Severity: enhancement
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rguenth at gcc dot gnu.org
Blocks: 53947
  Target Milestone: ---

gcc.dg/vect/pr45752.c FAILs with --param=tree-reassoc-width=2 because the
association lets us arrive with a load permutation we don't support.  With
this testcase it's possible to shuffle the SLP tree (without making it invalid)
making the load permutation supported.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947
[Bug 53947] [meta-bug] vectorizer missed-optimizations

[Bug tree-optimization/68694] SLP loads should be permuted until supported if possible

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68694

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2015-12-04
   Assignee|unassigned at gcc dot gnu.org  |rguenth at gcc dot 
gnu.org
 Ever confirmed|0   |1

[Bug tree-optimization/68693] [6 Regression] ice: in harmful_stmt_in_region, at graphite-scop-detection.c:1052

2015-12-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68693

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #2 from Dominique d'Humieres  ---
Confirmed, r227754 is OK, r228407 gives ICE.

[Bug c++/67337] [4.9/5 Regression] Segmentation fault on a template class

2015-12-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67337

--- Comment #9 from Markus Trippelsdorf  ---
Author: trippels
Date: Fri Dec  4 11:46:39 2015
New Revision: 231258

URL: https://gcc.gnu.org/viewcvs?rev=231258=gcc=rev
Log:
Fix c++/67337 (segfault in mangle.c)

PR c++/67337
* mangle.c (write_template_prefix): Guard against context==NULL.

Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/template/pr67337.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/mangle.c

[Bug testsuite/68681] [6 Regression] testcase gcc.dg/vect/pr45752.c fails on AArch64

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68681

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2015-12-04
  Component|tree-optimization   |testsuite
   Assignee|unassigned at gcc dot gnu.org  |rguenth at gcc dot 
gnu.org
   Target Milestone|--- |6.0
Summary|testcase|[6 Regression] testcase
   |gcc.dg/vect/pr45752.c fails |gcc.dg/vect/pr45752.c fails
   |on AArch64  |on AArch64
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
Huh.  It somehow arrives at

gcc/testsuite/gcc.dg/vect/pr45752.c:45:3: note: Load permutation 4 4 4 4 4 0 0
0 3 3 1 1 1 2 2 3 3 3 0 0 2 2 2 1 1

instead of the desired

Load permutation 2 2 2 2 2 3 3 3 3 3 0 0 0 0 0 1 1 1 1 1 4 4 4 4 4

hmm, it's probably a bit of luck which association you get for the addition
chain.  tree-reasssoc-width may play a role here - yep, with --param
tree-reassoc-width=2 it fails on x86_64 as well.

This is a missed optimization opportunity - shuffling the SLP tree (where
possible) to make load permutations supported.

In this case we can also amend the testcase to use --param tree-reassoc-width=1

[Bug c++/68679] [5/6 Regression] gcc-5.2.1 ICE in C++11 anon union of structs with template fns, OK in gcc <= 4.9.3

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68679

Richard Biener  changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
  Known to work||4.9.3
Version|unknown |5.2.1
   Target Milestone|--- |5.4
Summary|gcc-5.2.1 ICE in C++11 anon |[5/6 Regression] gcc-5.2.1
   |union of structs with   |ICE in C++11 anon union of
   |template fns, OK in gcc <=  |structs with template fns,
   |4.9.3   |OK in gcc <= 4.9.3

  1   2   3   >