[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&root=gcc&view=rev Log: 2017-02-03 Bill Schmidt Backport from mainline 2017-

[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&root=gcc&view=rev Log: PR tree-optimization/79327 * gimple-ssa-sprintf.c (adjust_

[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 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 t

[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&root=gcc&view=rev Log: PR libstdc++/66145 ensure new ABI for ios::failure tests PR lib

[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/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 --- C

[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 Pi

[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++/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&root=gcc&view=rev Log: PR c++/79294 - ICE with invalid template argument * pt.c

[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&root=gcc&view=rev Log: PR c++/12245 - excessive memory use * constexpr.c (maybe

[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 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++, for

[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 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 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 Component|middle-

[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++/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 to

[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/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 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 represe

[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 that

[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 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 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 --- Comme

[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 an

[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++/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 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++/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++/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 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 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 Status|NE

[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 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&root=gcc&view=rev Log: PR tree-optimization/79340 * tree-vect-loop.c (vectorizabl

[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&root=gcc&view=rev Log: PR c++/78689 - ICE on constructor with label gcc/ * tree-

[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++/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++/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&root=gcc&view=rev Log: PR tree-optimization/79327 - wrong code at -O2 and -fprintf-return-value g

[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++/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 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: smtes

[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 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 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 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 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 correspondin

[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 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 a

[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. iso_varying_st

[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 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 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 Hos

[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 patc

[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] 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 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++/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 -std

[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 rang

[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 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 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&root=gcc&view=rev Log: PR tree-optimization/79338 * tree-parloops.c (gather_scala

[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|

<    1   2