[Bug target/79354] [7 Regression] -mcpu=power8 -O2 generates power9 instruction on powerpc64le-linux

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79354 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Feb 3 17:34:56 2017 New Revision: 245157 URL: https://gcc.gnu.org/viewcvs?rev=245157=gcc=rev Log: PR target/79354 * config/rs6000/rs6000.md (movsi_from_sf): Use wb

[Bug testsuite/65484] FAIL: g++.dg/vect/pr36648.cc on powerpc64

2017-02-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65484 --- Comment #5 from Bill Schmidt --- Author: wschmidt Date: Fri Feb 3 19:08:10 2017 New Revision: 245165 URL: https://gcc.gnu.org/viewcvs?rev=245165=gcc=rev Log: 2017-02-03 Bill Schmidt Backport from

[Bug testsuite/65484] FAIL: g++.dg/vect/pr36648.cc on powerpc64

2017-02-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65484 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/79327] [7 Regression] wrong code at -O2 and -fprintf-return-value

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79327 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Feb 3 19:16:39 2017 New Revision: 245166 URL: https://gcc.gnu.org/viewcvs?rev=245166=gcc=rev Log: PR tree-optimization/79327 * gimple-ssa-sprintf.c

[Bug tree-optimization/79327] [7 Regression] wrong code at -O2 and -fprintf-return-value

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79327 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79365] New: tile*: incorrect result for expressions where result of a vector compare is used as a scalar

2017-02-03 Thread walt at tilera dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79365 Bug ID: 79365 Summary: tile*: incorrect result for expressions where result of a vector compare is used as a scalar Product: gcc Version: 7.0.1 Status: UNCONFIRMED

[Bug target/79366] wrong result in cast to unsigned int

2017-02-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/79367] New: ICE on valid C++11 code on x86_64-linux-gnu: verify_gimple failed

2017-02-03 Thread su at cs dot ucdavis.edu
20170203 (experimental) [trunk revision 245148] (GCC) $ $ clang++ -c -std=c++11 small.cpp $ $ g++-trunk -c -std=c++11 small.cpp small.cpp: In lambda function: small.cpp:6:5: error: Local declaration from a different function [&] { decltype (b) c; } (); ^ D.2056 small.cpp:6:22: note: in state

[Bug c/12245] [5/6/7 regression] Uses lots of memory when compiling large initialized arrays

2017-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245 --- Comment #64 from Jason Merrill --- Author: jason Date: Fri Feb 3 19:44:27 2017 New Revision: 245169 URL: https://gcc.gnu.org/viewcvs?rev=245169=gcc=rev Log: PR c++/12245 - excessive memory use * constexpr.c

[Bug c++/79294] [7 Regression] ICE in convert_nontype_argument, at cp/pt.c:6812

2017-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79294 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79366] wrong result in cast to unsigned int

2017-02-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > It is unspecified what is the value of an out of range conversion from > double to unsigned will be. Actually it is not just unspecified but undefined.

[Bug testsuite/68972] g++.dg/cpp1y/vla-initlist1.C test case fails on powerpc64le

2017-02-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68972 seurer at gcc dot gnu.org changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org,

[Bug c++/79300] Wrong diagnostics position

2017-02-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79300 David Malcolm changed: What|Removed |Added Target Milestone|--- |8.0 --- Comment #3 from David Malcolm

[Bug c++/79369] New: namespace definition with qualified id

2017-02-03 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79369 Bug ID: 79369 Summary: namespace definition with qualified id Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/79360] [5.4/6/7 Regression] ICE with NSDMI and enum in union

2017-02-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79360 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/79366] New: wrong result in cast to unsigned int

2017-02-03 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366 Bug ID: 79366 Summary: wrong result in cast to unsigned int Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/79369] namespace definition with qualified id

2017-02-03 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79369 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/79077] [7 regression][new inheriting ctors] bad code for inherited ctor

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79077 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/63264] Internal error due to invalid assembler register specification

2017-02-03 Thread mikulas at artax dot karlin.mff.cuni.cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63264 mikulas at artax dot karlin.mff.cuni.cz changed: What|Removed |Added Version|4.9.1 |6.3.0 ---

[Bug target/79366] wrong result in cast to unsigned int

2017-02-03 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366 --- Comment #6 from Bernd Edlinger --- FYI, the original problem was that libxml2 was unable to convert a date value 1601-01-01T00:00:00.000+00:01 which should underflow from 1601 to 1600, but we got the wrong date 1601-12-31T23:59:00.000 here

[Bug c++/79368] New: [7 Regression] ICE with pointer to unnamed struct

2017-02-03 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79368 Bug ID: 79368 Summary: [7 Regression] ICE with pointer to unnamed struct Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c++/79294] [7 Regression] ICE in convert_nontype_argument, at cp/pt.c:6812

2017-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79294 --- Comment #2 from Jason Merrill --- Author: jason Date: Fri Feb 3 19:44:21 2017 New Revision: 245168 URL: https://gcc.gnu.org/viewcvs?rev=245168=gcc=rev Log: PR c++/79294 - ICE with invalid template argument * pt.c

[Bug testsuite/79270] FAIL: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for excess errors)

2017-02-03 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79270 John David Anglin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/78838] msp430 option -mcode-region=either, -ffunction-sections, and interrupt function attributes cause incorrect section to be created

2017-02-03 Thread jozef.l at somniumtech dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78838 Jozef Lawrynowicz changed: What|Removed |Added CC||jozef.l at somniumtech dot com ---

[Bug target/79364] some variadic functions with an empty struct miscompiled with C++ (at least for x64 targets)

2017-02-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79364 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Andrew

[Bug target/79366] wrong result in cast to unsigned int

2017-02-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366 --- Comment #3 from Jonathan Wakely --- Clang's ubsan diagnoses this, but ours doesn't: u.cc:4:25: runtime error: value -1 is outside the range of representable values of type 'unsigned int'

[Bug target/79366] wrong result in cast to unsigned int

2017-02-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366 --- Comment #5 from joseph at codesourcery dot com --- Annex F makes it an unspecified value (i.e. each execution that occurs in the abstract machine has to act as if it produces some definite value representable in the resulting type, but

[Bug lto/64543] gcc fails to build due to undefined references to functions in libiberty

2017-02-03 Thread mikulas at artax dot karlin.mff.cuni.cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64543 mikulas at artax dot karlin.mff.cuni.cz changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug c++/79331] ICE on valid C++14 code (with initialized lambda capture) on x86_64-linux-gnu: in canonicalize_component_ref, at gimplify.c:2451

2017-02-03 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79331 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/79364] some variadic functions with an empty struct miscompiled with C++ (at least for x64 targets)

2017-02-03 Thread xilun0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79364 --- Comment #2 from Guillaume Knispel --- Note: I hit that bug after cleaning some real code after a cppcheck static analysis. The original code sometimes had "..." after references, which is technically forbidden (but seems to work with g++,

[Bug rtl-optimization/68664] [6/7 Regression] Speculative sqrt in c-ray main loop causes large slow down

2017-02-03 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68664 Segher Boessenkool changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/78689] [7 Regression] ICE (segfault) within cleanup_dead_labels

2017-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78689 --- Comment #6 from Jason Merrill --- (In reply to Jakub Jelinek from comment #4) > _ZN1XCI21WEi emitted in _ZN1XCI21WEi comdat, without _ZN1XCI11WEi alias, > which has the argument only in GCC (bug?), e.g. as seen with -O0 saves 3 > arguments

[Bug target/79366] wrong result in cast to unsigned int

2017-02-03 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366 --- Comment #4 from Bernd Edlinger --- Ah, I see, you mean C89: 3.2.1.3 Floating and integral When a value of floating type is converted to integral type, the fractional part is discarded. If the value of the integral part cannot be

[Bug c++/79363] [6/7 Regression] ICE with NSDMI and array

2017-02-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79363 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/79367] ICE on valid C++11 code on x86_64-linux-gnu: verify_gimple failed

2017-02-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79367 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error

2017-02-03 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79358 --- Comment #8 from Dominik Vogt --- Gdb says: (gdb) ptype __typeof__(size_t) type = unsigned long (gdb) ptype __typeof__(SIZE_MAX) type = unsigned int Two different types for unsigned 32 bit integers.

[Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error

2017-02-03 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79358 --- Comment #7 from Dominik Vogt --- Or even -- #include #include #define FOO(TYPE, EXPR) __typeof__(EXPR) a; __typeof__((TYPE)0 + 0) *b = void foo (void) { FOO(__SIZE_TYPE__, (SIZE_MAX)); } -- So __typeof__(SIZE_MAX) is different

[Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79358 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #9

[Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79358 --- Comment #11 from Jakub Jelinek --- OT, the gcc/config/s390/linux.h SIZE_TYPE definition looks weird: (TARGET_64BIT ? "long unsigned int" : "long unsigned int") As both strings are the same, it would be much cleaner to just say "long unsigned

[Bug c++/79362] New: internal compiler error: Segmentation fault - mmap: Cannot allocate memory

2017-02-03 Thread falemagn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79362 Bug ID: 79362 Summary: internal compiler error: Segmentation fault - mmap: Cannot allocate memory Product: gcc Version: 7.0 Status: UNCONFIRMED Severity:

[Bug target/78862] tile*: ICE with -fstack-protetor-strong

2017-02-03 Thread walt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78862 --- Comment #1 from walt at gcc dot gnu.org --- Author: walt Date: Fri Feb 3 18:41:57 2017 New Revision: 245159 URL: https://gcc.gnu.org/viewcvs?rev=245159=gcc=rev Log: PR target/78862 * config/tilegx/tilegx.md (tilegx_expand_prologue): Add

[Bug c++/79364] New: some variadic functions miscompiled (at least for x64 targets)

2017-02-03 Thread xilun0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79364 Bug ID: 79364 Summary: some variadic functions miscompiled (at least for x64 targets) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/79353] [7 regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-02-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79353 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/79331] ICE on valid C++14 code (with initialized lambda capture) on x86_64-linux-gnu: in canonicalize_component_ref, at gimplify.c:2451

2017-02-03 Thread su at cs dot ucdavis.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79331 --- Comment #3 from Zhendong Su --- (In reply to Richard Biener from comment #2) > rejected with GCC 6: > > t.C: In function ‘int bar()’: > t.C:5:12: error: invalid initialization of non-const reference of type ‘int > (*&)()’ from an rvalue of

[Bug c++/79361] New: [5/6/7 Regression] ICE redefining a template function as defaulted or deleted

2017-02-03 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79361 Bug ID: 79361 Summary: [5/6/7 Regression] ICE redefining a template function as defaulted or deleted Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords:

[Bug target/79354] [7 Regression] -mcpu=power8 -O2 generates power9 instruction on powerpc64le-linux

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79354 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/78862] tile*: ICE with -fstack-protetor-strong

2017-02-03 Thread walt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78862 --- Comment #2 from walt at gcc dot gnu.org --- Author: walt Date: Fri Feb 3 18:46:57 2017 New Revision: 245160 URL: https://gcc.gnu.org/viewcvs?rev=245160=gcc=rev Log: PR target/78862 * config/tilegx/tilegx.md (tilegx_expand_prologue): Add

[Bug testsuite/65484] FAIL: g++.dg/vect/pr36648.cc on powerpc64

2017-02-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65484 --- Comment #4 from Bill Schmidt --- Author: wschmidt Date: Fri Feb 3 19:06:58 2017 New Revision: 245164 URL: https://gcc.gnu.org/viewcvs?rev=245164=gcc=rev Log: 2017-02-03 Bill Schmidt Backport from

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

2017-02-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 --- Comment #31 from Jonathan Wakely --- Author: redi Date: Fri Feb 3 19:26:51 2017 New Revision: 245167 URL: https://gcc.gnu.org/viewcvs?rev=245167=gcc=rev Log: PR libstdc++/66145 ensure new ABI for ios::failure tests PR

[Bug c++/79363] New: [6/7 Regression] ICE with NSDMI and array

2017-02-03 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79363 Bug ID: 79363 Summary: [6/7 Regression] ICE with NSDMI and array Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error

2017-02-03 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79358 --- Comment #6 from Dominik Vogt --- (In reply to Andreas Krebbel from comment #2) > The reduced testcase fails with -m31 and -m64 but the original probably only > with -m31 - right?! Sorry, you're right. I was doing too many things in

[Bug target/79353] [7 regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-02-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79353 Eric Botcazou changed: What|Removed |Added Status|WAITING |NEW --- Comment #3 from Eric Botcazou

[Bug c++/68858] Cannot use fold expression in requirements with two parameters packs

2017-02-03 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68858 --- Comment #1 from Casey Carter --- This seems to be a duplicate of PR 68812.

[Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79358 --- Comment #10 from Jakub Jelinek --- It is a pitty glibc headers didn't use __SIZE_MAX__ if available, because that appears to be correct.

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

2017-02-03 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64081 --- Comment #36 from David Edelsohn --- The DBX_CONTIN patch should be in gcc/xcoffout.h, not in rs6000.h. The patch originally was added 2015-02-06.

[Bug libstdc++/60936] [5/6/7 Regression] Binary code bloat with std::string

2017-02-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60936 --- Comment #27 from Jonathan Wakely --- Author: redi Date: Fri Feb 3 18:59:05 2017 New Revision: 245162 URL: https://gcc.gnu.org/viewcvs?rev=245162=gcc=rev Log: PR libstdc++/60936 reduce coupling between objects in libstdc++.a Move explicit

[Bug c++/79362] internal compiler error: Segmentation fault - mmap: Cannot allocate memory

2017-02-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79362 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug target/79370] Cortex-A7 hardware division switched on for -mcpu but not -mtune

2017-02-03 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79370 PeteVine changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/79344] [7 Regression] segmentation faults and run-time errors

2017-02-03 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79344 --- Comment #6 from Jürgen Reuter --- Also the three remaining test failures are now understood as resulting from an allocate (A, source = B), where A and B are allocatable arrays of a derived type with allocatable components, e.g.

[Bug c++/79363] [6/7 Regression] ICE with NSDMI and array

2017-02-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79363 Martin Sebor changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code

[Bug c++/72775] [6 Regression] internal compiler error: in finish_expr_stmt, at cp/semantics.c:677

2017-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775 Jason Merrill changed: What|Removed |Added Status|RESOLVED|ASSIGNED Resolution|FIXED

[Bug c/79357] Doubling a single complex float gives inefficient code

2017-02-03 Thread drraph at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79357 --- Comment #1 from Raphael C --- I omitted .L_2il0floatpacket.1: .long 0x4000,0x4000,0x,0x .long 0x4000,0x from the assembly. In other words it just multiplies by 2.0f.

[Bug c++/79360] [5.4/6/7 Regression] ICE with NSDMI and enum in union

2017-02-03 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79360 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug testsuite/68972] g++.dg/cpp1y/vla-initlist1.C test case fails on powerpc64le

2017-02-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68972 --- Comment #11 from Eric Botcazou --- The test really needs to be fixed at this point...

[Bug fortran/79344] [7 Regression] segmentation faults and run-time errors

2017-02-03 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79344 --- Comment #5 from Jürgen Reuter --- >From the full test case I posted below, all the failing unit test and all but three failing functional tests can be traced back to allocate (A, source = B) problems. Three tests are not yet understood:

[Bug c++/78689] [7 Regression] ICE (segfault) within cleanup_dead_labels

2017-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78689 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/79327] [7 Regression] wrong code at -O2 and -fprintf-return-value

2017-02-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79327 --- Comment #8 from Martin Sebor --- Author: msebor Date: Fri Feb 3 22:47:35 2017 New Revision: 245173 URL: https://gcc.gnu.org/viewcvs?rev=245173=gcc=rev Log: PR tree-optimization/79327 - wrong code at -O2 and -fprintf-return-value

[Bug sanitizer/79096] [7 Regression] address sanitizer and jni does not work

2017-02-03 Thread physiker at toast2 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79096 --- Comment #4 from physiker at toast2 dot net --- > Could you please raise a bug in LLVM bug tracker (https://llvm.org/bugs/)? > All changes to sanitizer runtime library should go to LLVM and after they > fix this bug we can backport

[Bug target/79366] wrong result in cast to unsigned int

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug c++/78689] [7 Regression] ICE (segfault) within cleanup_dead_labels

2017-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78689 --- Comment #7 from Jason Merrill --- Author: jason Date: Fri Feb 3 22:42:37 2017 New Revision: 245172 URL: https://gcc.gnu.org/viewcvs?rev=245172=gcc=rev Log: PR c++/78689 - ICE on constructor with label gcc/ * tree-inline.c

[Bug c++/78334] [7 Regression] [C++1z] P0127R2 related ICE: Segmentation fault

2017-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78334 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/78334] [7 Regression] [C++1z] P0127R2 related ICE: Segmentation fault

2017-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78334 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/79370] New: Cortex-A7 hardware division switched on for -mcpu but not -mtune

2017-02-03 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79370 Bug ID: 79370 Summary: Cortex-A7 hardware division switched on for -mcpu but not -mtune Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/79340] [7 Regression] Memory leaks in tree-vect-slp.c

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79340 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri Feb 3 22:36:29 2017 New Revision: 245171 URL: https://gcc.gnu.org/viewcvs?rev=245171=gcc=rev Log: PR tree-optimization/79340 * tree-vect-loop.c

[Bug tree-optimization/79340] [7 Regression] Memory leaks in tree-vect-slp.c

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79340 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79368] [7 Regression] ICE with pointer to unnamed struct

2017-02-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79368 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c++/79362] internal compiler error: Segmentation fault - mmap: Cannot allocate memory

2017-02-03 Thread falemagn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79362 --- Comment #2 from Fabio Alemagna --- I had looked for possible duplicates but found none, sorry about that and glad to know it's already been fixed. Thanks for your time!

[Bug testsuite/79356] XPASS in attr-alloc_size-11.c

2017-02-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79356 Martin Sebor changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug fortran/79335] [7 Regression] Conditional jump or move depends on uninitialised in value get_scalar_to_descriptor_type(tree_node*, symbol_attribute) (trans-expr.c:53)

2017-02-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79335 --- Comment #1 from Martin Liška --- Jeff, increasing priority would be good as it triggers many uninitialised warnings in valgrind that makes it hard to distinguish between this PR and a possibly different one. Thanks.

[Bug other/79341] Many Asan tests fail on s390

2017-02-03 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #4 from Dominik Vogt --- From /sysdeps/s390/dl-tls.h: /* The special thing about the s390 TLS ABI is that we do not have the standard __tls_get_addr function but the __tls_get_offset function which differs in two important

[Bug ipa/79337] [7 Regression] Significant memory leaks in IPA CP

2017-02-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79337 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/79339] [7 Regression] Memory leak in gimple-ssa-sprintf.c

2017-02-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79339 --- Comment #2 from Martin Liška --- Author: marxin Date: Fri Feb 3 08:20:57 2017 New Revision: 245146 URL: https://gcc.gnu.org/viewcvs?rev=245146=gcc=rev Log: Fix memory leaks in gimple-ssa-sprintf.c (PR tree-optimization/79339). 2017-02-03

[Bug fortran/78958] FAIL: gfortran.dg/alloc_comp_class_5.f03 - Segmentation fault

2017-02-03 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78958 --- Comment #5 from dave.anglin at bell dot net --- On 2017-01-30, at 4:38 AM, vehre at gmx dot de wrote: > The attached patch fixes the issue at least on x86_64-linux and the sanitizer > does not report any further issues. Please test. The

[Bug c++/79373] For loop optimization bug: condition ignored

2017-02-03 Thread steven.p.pigeon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79373 --- Comment #2 from Steven Pigeon --- (In reply to Andrew Pinski from comment #1) > I am suspecting this: > t*=65793; > > overflows. > > Can you try with -fsanitize=undefined ? The bug disappears with g++ -fsanitize=undefined -O3

[Bug testsuite/79356] XPASS in attr-alloc_size-11.c

2017-02-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79356 Martin Sebor changed: What|Removed |Added Target|s390x |s390x, powepc64le-linux

[Bug c++/79372] New: ICE on C++ code with illegal decomposition declaration on x86_64-linux-gnu: in tsubst_decomp_names, at cp/pt.c:15599

2017-02-03 Thread su at cs dot ucdavis.edu
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.1 20170203 (experimental

[Bug c++/79373] For loop optimization bug: condition ignored

2017-02-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79373 --- Comment #1 from Andrew Pinski --- I am suspecting this: t*=65793; overflows. Can you try with -fsanitize=undefined ?

[Bug c++/79371] New: ICE on valid C++14 code on x86_64-linux-gnu: in build_class_member_access_expr, at cp/typeck.c:2296

2017-02-03 Thread su at cs dot ucdavis.edu
++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.1 20170203 (experimental) [trunk revision 245148] (GCC) $ $ clang++ -c -std=c++14 small.cpp $ icc -c -std=c++14 small.cpp small.cpp(6): internal error: assertion failed at: "shared/cfe/edgcpfe/class_d

[Bug c++/79373] New: For loop optimization bug: condition ignored

2017-02-03 Thread steven.p.pigeon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79373 Bug ID: 79373 Summary: For loop optimization bug: condition ignored Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/79338] [6/7 Regression] Memory leak in tree-parloops.c

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79338 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Sat Feb 4 07:44:13 2017 New Revision: 245183 URL: https://gcc.gnu.org/viewcvs?rev=245183=gcc=rev Log: PR tree-optimization/79338 * tree-parloops.c

[Bug target/79366] wrong result in cast to unsigned int

2017-02-03 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366 --- Comment #8 from Bernd Edlinger --- (In reply to Jakub Jelinek from comment #7) > (In reply to Jonathan Wakely from comment #3) > > Clang's ubsan diagnoses this, but ours doesn't: > > > > u.cc:4:25: runtime error: value -1 is outside the

[Bug c/79374] New: missing sometimes-uninitialized warning in switch statement

2017-02-03 Thread hermantenbrugge at home dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79374 Bug ID: 79374 Summary: missing sometimes-uninitialized warning in switch statement Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/79366] wrong result in cast to unsigned int

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366 --- Comment #9 from Jakub Jelinek --- Because =undefined only includes undefined behavior, which neither float-divide-by-zero nor float-cast-overflow doesn't satisfy. This is all documented.

[Bug middle-end/79374] missing sometimes-uninitialized warning in switch statement

2017-02-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79374 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Depends on|

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

2017-02-03 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64081 --- Comment #31 from Aldy Hernandez --- (In reply to David Edelsohn from comment #30) > .../src/src/configure --disable-werror --with-gmp=/opt/cfarm > --with-libiconv-prefix=/opt/cfarm --disable-libstdcxx-pch > --with-included-gettext > > By

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-03 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #20 from Florian Weimer --- (In reply to Andreas Krebbel from comment #19) > As a debugging tool I think asan is a special case also regarding ABI > compatibility. We probably do not want to export the internal symbol and > make it

[Bug c/79356] New: XPASS in attr-alloc_size-11.c

2017-02-03 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79356 Bug ID: 79356 Summary: XPASS in attr-alloc_size-11.c Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/79340] [7 Regression] Memory leaks in tree-vect-slp.c

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79340 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/79354] [7 Regression] -mcpu=power8 -O2 generates power9 instruction on powerpc64le-linux

2017-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79354 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/70478] [LRA] S/390: Performance regression - superfluous stack frame

2017-02-03 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70478 --- Comment #5 from Andreas Krebbel --- (In reply to Dominik Vogt from comment #4) > Is there any new information on this issue? Adding the ? constraint modifier was an overall loss. So I did not pursue this any further.

  1   2   >