[Bug c/44677] Warn for variables incremented but not used

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44677 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug fortran/78976] [7 Regression] FAIL: gfortran.dg/dependency_49.f90 and gfortran.dg/transfer_intrinsic_1.f90

2017-01-04 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78976 --- Comment #4 from Janne Blomqvist --- Author: jb Date: Wed Jan 4 08:06:54 2017 New Revision: 244048 URL: https://gcc.gnu.org/viewcvs?rev=244048&root=gcc&view=rev Log: PR 78796 Modify testcases due to gfc_trans_string_copy change As r244011 h

[Bug target/78796] TLS fails to link on aarch64 with -mcmodel=large

2017-01-04 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78796 --- Comment #10 from Janne Blomqvist --- Author: jb Date: Wed Jan 4 08:06:54 2017 New Revision: 244048 URL: https://gcc.gnu.org/viewcvs?rev=244048&root=gcc&view=rev Log: PR 78796 Modify testcases due to gfc_trans_string_copy change As r244011

[Bug fortran/78534] Use a larger integer type for character lengths on 64-bit targets

2017-01-04 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78534 --- Comment #17 from Janne Blomqvist --- Author: jb Date: Wed Jan 4 08:06:54 2017 New Revision: 244048 URL: https://gcc.gnu.org/viewcvs?rev=244048&root=gcc&view=rev Log: PR 78796 Modify testcases due to gfc_trans_string_copy change As r244011

[Bug bootstrap/77569] [7 Regression] self tests fail when not using C locale

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

[Bug target/78972] [5/6/7 Regression] poor x86 simd instruction scheduling

2017-01-04 Thread liquidsun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78972 --- Comment #8 from Andrew M. --- (In reply to Andrew Pinski from comment #7) > One thing to try is -fno-tree-ter. Stack sizes for -fno-tree-ter: 4.9.4: 272 bytes 5.1-5.4: 288 bytes 6.1-6.3: 560 bytes 7: 560 bytes Performance improves a lot wi

[Bug tree-optimization/78895] [6 Regression] wrong code with -O1 when setting union twice since 6.3

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78895 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/59124] [5/6 Regression] Wrong warnings "array subscript is above array bounds"

2017-01-04 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59124 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com Summar

[Bug bootstrap/78984] New: [4.9 regression] bootstrap fails while creating 32-bit libgcc on 64-bit x86_64-linux

2017-01-04 Thread bruno at clisp dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78984 Bug ID: 78984 Summary: [4.9 regression] bootstrap fails while creating 32-bit libgcc on 64-bit x86_64-linux Product: gcc Version: 4.9.0 Status: UNCONFIRMED Seve

[Bug tree-optimization/78895] [6 Regression] wrong code with -O1 when setting union twice since 6.3

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78895 --- Comment #3 from Richard Biener --- Duplicate of PR71055 (missed backport of a latent bug).

[Bug bootstrap/78984] [4.9 regression] bootstrap fails while creating 32-bit libgcc on 64-bit x86_64-linux

2017-01-04 Thread bruno at clisp dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78984 --- Comment #1 from bruno at clisp dot org --- The error is similar to the one in bug #63507. The differences are: - I'm not using the '--with-build-config=bootstrap-asan' option. - It fails building the "," directory of libgcc, not the "32" direc

[Bug bootstrap/78984] [4.9 regression] bootstrap fails while creating 32-bit libgcc on 64-bit x86_64-linux

2017-01-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78984 --- Comment #2 from Andrew Pinski --- Not a bug. You are trying to use a 64bit ld with a ld plugin that is just compiled as 32bit. You need to use the 32bit ld here too. Try using a chroot env rather than the hack you are doing.

[Bug bootstrap/78984] [4.9 regression] bootstrap fails while creating 32-bit libgcc on 64-bit x86_64-linux

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

[Bug tree-optimization/71563] [6/7 Regression] Regression in GCC-7.0.0's optimizer.

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71563 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Wed Jan 4 09:07:33 2017 New Revision: 244050 URL: https://gcc.gnu.org/viewcvs?rev=244050&root=gcc&view=rev Log: PR tree-optimization/71563 * match.pd: Simplify X << Y in

[Bug bootstrap/78984] [4.9 regression] bootstrap fails while creating 32-bit libgcc on 64-bit x86_64-linux

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78984 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug debug/78685] -Og generates too many ""s

2017-01-04 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78685 --- Comment #6 from rguenther at suse dot de --- On Wed, 21 Dec 2016, eggert at gnu dot org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78685 > > --- Comment #5 from Paul Eggert --- > Just to clarify: 'main' (in the sample program) i

[Bug tree-optimization/71563] [6/7 Regression] Regression in GCC-7.0.0's optimizer.

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

[Bug go/78978] [7 regression] runtime/pprof FAILs on Solaris 2/x86

2017-01-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78978 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Ian Lance Taylor --- > If the libstdc++ approach works and is acceptable, it seems to me we should do > the same for libgo. Fine with me: it has the advantage of s

[Bug target/78938] [7 Regression] ICE in expand_vec_cond_expr, at optabs.c:5636 w/ -mavx512bw -ftree-loop-vectorize -O1

2017-01-04 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78938 --- Comment #3 from rguenther at suse dot de --- On Mon, 2 Jan 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78938 > > Jakub Jelinek changed: > >What|Removed |Added >

[Bug fortran/78976] [7 Regression] FAIL: gfortran.dg/dependency_49.f90 and gfortran.dg/transfer_intrinsic_1.f90

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78976 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug tree-optimization/65206] Vectorized version of loop is removed.

2017-01-04 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65206 --- Comment #9 from rguenther at suse dot de --- On Mon, 2 Jan 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65206 > > --- Comment #8 from Jakub Jelinek --- > Adding some flag on the MASK_STORE or MASK_LO

[Bug target/78938] [7 Regression] ICE in expand_vec_cond_expr, at optabs.c:5636 w/ -mavx512bw -ftree-loop-vectorize -O1

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78938 --- Comment #4 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #3) > I believe the bool patterns were supposed to handle this case but > at the time I fixed its time/size complexity issues we IIRC ended up > effectively disabli

[Bug target/78974] STM32L4 CPU read burst access equal to or more than 9 registers to FMC returns corrupted data starting from the 9th read word

2017-01-04 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78974 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/76957] [7 regression] FAIL: gcc.dg/graphite/scop-dsyr2k.c scan-tree-dump-times graphite "number of SCoPs

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76957 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone|

[Bug target/78938] [7 Regression] ICE in expand_vec_cond_expr, at optabs.c:5636 w/ -mavx512bw -ftree-loop-vectorize -O1

2017-01-04 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78938 --- Comment #5 from rguenther at suse dot de --- On Wed, 4 Jan 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78938 > > --- Comment #4 from Jakub Jelinek --- > (In reply to rguent...@suse.de from comment #

[Bug libstdc++/64735] std::future broken on armel

2017-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735 --- Comment #11 from Jonathan Wakely --- Author: redi Date: Wed Jan 4 10:54:59 2017 New Revision: 244051 URL: https://gcc.gnu.org/viewcvs?rev=244051&root=gcc&view=rev Log: Support exception propagation without lock-free atomic int 2017-01-04

[Bug libstdc++/64735] std::future broken on armel

2017-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/78979] 27_io/headers/cstdio/functions_neg.cc FAILs on Solaris

2017-01-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78979 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Jonathan Wakely --- > The Solaris header would be more correct if it did: > > #if __STDC_VERSION__ < 201112L && __cplusplus < 201402L > extern char *gets(char *

[Bug tree-optimization/71055] [7 Regression] FAIL: gcc.dg/torture/pr53663-1.c -Os execution test

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71055 --- Comment #5 from Richard Biener --- Author: rguenth Date: Wed Jan 4 12:35:32 2017 New Revision: 244053 URL: https://gcc.gnu.org/viewcvs?rev=244053&root=gcc&view=rev Log: 2017-01-04 Richard Biener Backport from mainline 20

[Bug tree-optimization/78895] [6 Regression] wrong code with -O1 when setting union twice since 6.3

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78895 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/78977] [7 Regression] g++7 snprintf() of double produces wrong code with -O3

2017-01-04 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78977 --- Comment #6 from Hannes Hauswedell --- (In reply to Martin Sebor from comment #5) > (In reply to Hannes Hauswedell from comment #3) > > > > Great, let me know if it's merged, then I will try a newer snapshot! > > The patch has been committed

[Bug bootstrap/78880] [7 Regression] Revision 243196 breaks bootstrap on x86_64-w64-mingw32

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78880 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug fortran/78641] [5/6/7 Regression] [OOP] ICE on polymorphic allocatable function in array constructor

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78641 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug c++/78908] [6/7 Regression] lto1: internal compiler error: in lto_read_decls, at lto/lto.c:1814

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78908 Richard Biener changed: What|Removed |Added Keywords||lto Priority|P3

[Bug middle-end/78977] [7 Regression] g++7 snprintf() of double produces wrong code with -O3

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78977 --- Comment #7 from Jakub Jelinek --- (In reply to Hannes Hauswedell from comment #6) > (In reply to Martin Sebor from comment #5) > > (In reply to Hannes Hauswedell from comment #3) > > > > > > Great, let me know if it's merged, then I will try

[Bug rtl-optimization/78911] [5/6/7 Regression] Infinite loop at -O2/O3 optimization levels while trying to compile server.c from Wine-2.0-rc2

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78911 Richard Biener changed: What|Removed |Added Keywords||ra Priority|P3

[Bug c++/78589] g++ prints instead of a function name when warning in an OpenMP outlined function

2017-01-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/71237] [7 regression] scev tests failing after pass reorganization

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71237 Richard Biener changed: What|Removed |Added CC||danglin at gcc dot gnu.org --- Comment

[Bug tree-optimization/78961] [7 Regression] FAIL: gcc.dg/tree-ssa/scev-3.c scan-tree-dump-times optimized "&a" 1

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78961 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/78977] [7 Regression] g++7 snprintf() of double produces wrong code with -O3

2017-01-04 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78977 --- Comment #8 from Hannes Hauswedell --- (In reply to Jakub Jelinek from comment #7) > (In reply to Hannes Hauswedell from comment #6) > > (In reply to Martin Sebor from comment #5) > > > (In reply to Hannes Hauswedell from comment #3) > > > >

[Bug libstdc++/78968] conflict between gnu's __cxa_thread_atexit and LLVM's/FreeBSD's implementation

2017-01-04 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78968 --- Comment #12 from Hannes Hauswedell --- Created attachment 40451 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40451&action=edit intermediate for O3

[Bug libstdc++/78968] conflict between gnu's __cxa_thread_atexit and LLVM's/FreeBSD's implementation

2017-01-04 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78968 --- Comment #13 from Hannes Hauswedell --- Created attachment 40452 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40452&action=edit intermediate for O3 -fno-printf-return-value

[Bug libstdc++/78968] conflict between gnu's __cxa_thread_atexit and LLVM's/FreeBSD's implementation

2017-01-04 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78968 --- Comment #14 from Hannes Hauswedell --- sorry, please ignore the attachments, bugzilla dropped me in a different issue than planned.

[Bug middle-end/78977] [7 Regression] g++7 snprintf() of double produces wrong code with -O3

2017-01-04 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78977 --- Comment #9 from Hannes Hauswedell --- Created attachment 40453 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40453&action=edit intermediate for O3

[Bug middle-end/78977] [7 Regression] g++7 snprintf() of double produces wrong code with -O3

2017-01-04 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78977 --- Comment #10 from Hannes Hauswedell --- Created attachment 40454 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40454&action=edit intermediate for O3 -fno-printf-return-value

[Bug bootstrap/78985] New: [7 Regression] profiledbootstrap failure by -Wuninitialized

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78985 Bug ID: 78985 Summary: [7 Regression] profiledbootstrap failure by -Wuninitialized Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: build, diagnostic

[Bug bootstrap/78985] [7 Regression] profiledbootstrap failure by -Wuninitialized

2017-01-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78985 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug pch/78970] GCC crashes if input file is dash

2017-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78970 --- Comment #2 from Martin Liška --- Ok, basic problem is in _cpp_save_file_entries, where we calculate md5sum of all inputs files. Providing '-' will cause to have input file as fd == 0 and ff = fdopen (f->fd, "rb"); md5_str

[Bug pch/78970] GCC crashes if input file is dash

2017-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78970 --- Comment #3 from Martin Liška --- Created attachment 40455 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40455&action=edit Untested patch

[Bug pch/78970] GCC crashes if input file is dash

2017-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78970 --- Comment #4 from Martin Liška --- Created attachment 40456 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40456&action=edit Untested patch

[Bug sanitizer/57507] gcc 4.8: thread sanitizer: std::thread false(?) positive

2017-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57507 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/66735] [C++14] lambda init-capture fails for const references

2017-01-04 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66735 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/54367] [meta-bug] lambda expressions

2017-01-04 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 66735, which changed state. Bug 66735 Summary: [C++14] lambda init-capture fails for const references https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66735 What|Removed |Added -

[Bug c++/66735] [C++14] lambda init-capture fails for const references

2017-01-04 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66735 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Wed Jan 4 15:23:40 2017 New Revision: 244056 URL: https://gcc.gnu.org/viewcvs?rev=244056&root=gcc&view=rev Log: cp/ PR c++/66735 * cp-tree.h (DECLTYPE_FOR_REF_C

[Bug rtl-optimization/78932] [ARM] -O2 generates wrong code

2017-01-04 Thread xqr4n54r1 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78932 --- Comment #2 from xqr4n54r1 at hotmail dot com --- Created attachment 40457 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40457&action=edit memcpy instead of get_unaligned_be * I wrote memcpy instead of get_unaligned_be{16|32} and I saw

[Bug libstdc++/78968] conflict between gnu's __cxa_thread_atexit and LLVM's/FreeBSD's implementation

2017-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78968 --- Comment #15 from Jonathan Wakely --- Author: redi Date: Wed Jan 4 15:41:19 2017 New Revision: 244057 URL: https://gcc.gnu.org/viewcvs?rev=244057&root=gcc&view=rev Log: PR78968 add configure check for __cxa_thread_atexit in libc PR

[Bug libstdc++/78968] conflict between gnu's __cxa_thread_atexit and LLVM's/FreeBSD's implementation

2017-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78968 --- Comment #16 from Jonathan Wakely --- Trunk no longer defines __cxa_thread_atexit if it's found in libc. We might want to backport this to the gcc-5-branch and gcc-6-branch. I will try to test this in a FreeBSD 11 VM some time soon.

[Bug c++/78986] New: template inner classes are not affected by visibility specifiers

2017-01-04 Thread michele.caini at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78986 Bug ID: 78986 Summary: template inner classes are not affected by visibility specifiers Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug c/78987] New: Wrong location of a binary expression for -Waddress

2017-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78987 Bug ID: 78987 Summary: Wrong location of a binary expression for -Waddress Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug c++/78988] New: Wrong location of a binary expression for -Waddress

2017-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78988 Bug ID: 78988 Summary: Wrong location of a binary expression for -Waddress Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug c/78987] Wrong location of a binary expression for -Waddress

2017-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78987 --- Comment #1 from Martin Liška --- C++ related issue: PR78988.

[Bug bootstrap/78984] [4.9 regression] bootstrap fails while creating 32-bit libgcc on 64-bit x86_64-linux

2017-01-04 Thread bruno at clisp dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78984 --- Comment #5 from bruno at clisp dot org --- Thanks Jakub. The ld --version and "-m elf_i386 -L /usr/lib/" trick solves it! (I was already using the "as --32" trick.) Another way is to define a simpler ld32 script == ld32 ==

[Bug target/57583] large switches with jump tables are horribly broken on m68k

2017-01-04 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57583 --- Comment #10 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #9) > Sounds good. I can give it a try in the following days or weeks and see if I > can get a C code with such large switch statements compile

[Bug bootstrap/78984] [4.9 regression] bootstrap fails while creating 32-bit libgcc on 64-bit x86_64-linux

2017-01-04 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78984 --- Comment #6 from Andreas Schwab --- Note that if you use --with-ld, -B no longer works.

[Bug tree-optimization/78899] [7 Regression] Vestorized loop with optmized mask stores motion is completely deleted after r242520.

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78899 Jakub Jelinek changed: What|Removed |Added Attachment #40403|0 |1 is obsolete|

[Bug middle-end/78977] [7 Regression] g++7 snprintf() of double produces wrong code with -O3

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78977 --- Comment #11 from Martin Sebor --- Thanks. The preprocessed file is what we need. I see two snprintf calls being optimized in the SEQAN_TEST_test_random_beta_write function: On line 52569 substituting 3 for snprintf return value (output c

[Bug c/78989] New: Missing -Waddress warning

2017-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 Bug ID: 78989 Summary: Missing -Waddress warning Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 C

[Bug c++/77545] [7 Regression] ICE on valid C++11 code: in potential_constant_expression_1, at cp/constexpr.c:5480

2017-01-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77545 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/77284] [5/6/7 Regression] ICE on valid C++11 code using initializer list: in potential_constant_expression_1, at cp/constexpr.c:5480

2017-01-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77284 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Wed Jan 4 17:47:04 2017 New Revision: 244062 URL: https://gcc.gnu.org/viewcvs?rev=244062&root=gcc&view=rev Log: PR c++/77545 PR c++/77284 * constexpr.c (potent

[Bug c++/77545] [7 Regression] ICE on valid C++11 code: in potential_constant_expression_1, at cp/constexpr.c:5480

2017-01-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77545 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Wed Jan 4 17:47:04 2017 New Revision: 244062 URL: https://gcc.gnu.org/viewcvs?rev=244062&root=gcc&view=rev Log: PR c++/77545 PR c++/77284 * constexpr.c (potent

[Bug c++/77284] [5/6 Regression] ICE on valid C++11 code using initializer list: in potential_constant_expression_1, at cp/constexpr.c:5480

2017-01-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77284 Marek Polacek changed: What|Removed |Added Summary|[5/6/7 Regression] ICE on |[5/6 Regression] ICE on

[Bug c++/77545] [7 Regression] ICE on valid C++11 code: in potential_constant_expression_1, at cp/constexpr.c:5480

2017-01-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77545 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/78984] [4.9 regression] bootstrap fails while creating 32-bit libgcc on 64-bit x86_64-linux

2017-01-04 Thread bruno at clisp dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78984 --- Comment #7 from bruno at clisp dot org --- (In reply to Andreas Schwab from comment #6) > Note that if you use --with-ld, -B no longer works. Thanks Andreas. In fact, I've never used the -B option (except during gcc bootstrap). Some 20 years a

[Bug c/78989] Missing -Waddress warning

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c/78989] Missing -Waddress warning

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 Jakub Jelinek changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug fortran/78990] New: ICE when assigning polymorphic array function result

2017-01-04 Thread cmacmackin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78990 Bug ID: 78990 Summary: ICE when assigning polymorphic array function result Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c/44677] Warn for variables incremented but not used

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44677 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #6

[Bug bootstrap/78984] [4.9 regression] bootstrap fails while creating 32-bit libgcc on 64-bit x86_64-linux

2017-01-04 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78984 --- Comment #8 from Andreas Schwab --- The binutils testsuite depends on it.

[Bug c/44677] Warn for variables incremented but not used

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44677 --- Comment #7 from Jakub Jelinek --- (In reply to Martin Sebor from comment #6) > I haven't thought through the implementation challenges but defining the > extended -Wunused-but-set-variabl rule that's being suggested here seems > straightforwa

[Bug tree-optimization/67955] tree-dse does not use pointer info

2017-01-04 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67955 --- Comment #11 from Jeffrey A. Law --- Author: law Date: Wed Jan 4 19:22:44 2017 New Revision: 244067 URL: https://gcc.gnu.org/viewcvs?rev=244067&root=gcc&view=rev Log: PR tree-optimizatin/67955 * tree-ssa-alias.c (same_addr_si

[Bug c/78989] Missing -Waddress warning

2017-01-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 --- Comment #3 from David Malcolm --- Looking at the PRs you filed about the locations (PR78987 and PR78988), perhaps the best approach here is for the location of the warning to be either this: return (asan_poison_variables && ~~~

[Bug c/78989] Missing -Waddress warning

2017-01-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 --- Comment #4 from David Malcolm --- ...or to use a rich location to send two locations for the warning, giving: return (asan_poison_variables && ^~ # 6 "gimplify.cpp" 3 4 __null

[Bug target/78056] [7 Regression] build failure on Power7

2017-01-04 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78056 --- Comment #20 from kelvin at gcc dot gnu.org --- Author: kelvin Date: Wed Jan 4 20:03:00 2017 New Revision: 244068 URL: https://gcc.gnu.org/viewcvs?rev=244068&root=gcc&view=rev Log: gcc/testsuite/ChangeLog: 2017-01-04 Kelvin Nilsen

[Bug target/78900] ICE in gcc.target/powerpc/signbit-3.c

2017-01-04 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78900 --- Comment #3 from Michael Meissner --- Fixed in trunk in subversion id 244044. I will hold the bug open until it is checked into the GCC 6 branch.

[Bug target/78953] Errors in compiling Spec 2006 for power9

2017-01-04 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78953 Michael Meissner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71182] [6/7 Regression] parser.c cp_lexer_previous_token sanitizer detects member call on null pointer

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71182 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Wed Jan 4 20:05:14 2017 New Revision: 244070 URL: https://gcc.gnu.org/viewcvs?rev=244070&root=gcc&view=rev Log: PR c++/71182 * parser.c (cp_lexer_previous_token): Use vec

[Bug c++/71182] [6 Regression] parser.c cp_lexer_previous_token sanitizer detects member call on null pointer

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71182 Jakub Jelinek changed: What|Removed |Added Summary|[6/7 Regression] parser.c |[6 Regression] parser.c

[Bug driver/78957] ICE: SIGSEGV with -fno-sso-struct=web

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78957 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Wed Jan 4 20:25:13 2017 New Revision: 244072 URL: https://gcc.gnu.org/viewcvs?rev=244072&root=gcc&view=rev Log: PR driver/78957 * c.opt (fsso-struct=): Add RejectNegative

[Bug driver/78957] ICE: SIGSEGV with -fno-sso-struct=web

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

[Bug libstdc++/78991] New: std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-04 Thread daiw at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 Bug ID: 78991 Summary: std::sort and std::unique can not use std::function with clang++ -std=c++14 Product: gcc Version: unknown Status: UNCONFIRMED Severity: n

[Bug rtl-optimization/78116] [7 regression] Performance drop after r241173 on avx512 target

2017-01-04 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78116 --- Comment #10 from Pat Haugen --- (In reply to Jakub Jelinek from comment #9) > Any progress on this? Besides waiting for pr77536 to be fixed, I'm not sure what specifically can be done on this issue to fix the problem. I personally have not d

[Bug sanitizer/78992] New: Incorrect sigaction definition on 32-bit sparc

2017-01-04 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78992 Bug ID: 78992 Summary: Incorrect sigaction definition on 32-bit sparc Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sani

[Bug c++/78693] [6/7 Regression] Bogus 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78693 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Jan 4 21:30:35 2017 New Revision: 244074 URL: https://gcc.gnu.org/viewcvs?rev=244074&root=gcc&view=rev Log: PR c++/78693 * parser.c (cp_parser_simple_declaration): On

[Bug c++/78949] incorrect "unused variable" warning with SSE2

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78949 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed Jan 4 21:34:27 2017 New Revision: 244075 URL: https://gcc.gnu.org/viewcvs?rev=244075&root=gcc&view=rev Log: PR c++/78949 * typeck.c (cp_build_unary_op): Call mark_rva

[Bug middle-end/78993] New: False positive from -Wmaybe-uninitialized

2017-01-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78993 Bug ID: 78993 Summary: False positive from -Wmaybe-uninitialized Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-en

[Bug c++/78693] [6 Regression] Bogus 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78693 Jakub Jelinek changed: What|Removed |Added Summary|[6/7 Regression] Bogus |[6 Regression] Bogus |

[Bug c++/78949] incorrect "unused variable" warning with SSE2

2017-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78949 --- Comment #7 from Jakub Jelinek --- Fixed on the trunk so far.

[Bug middle-end/78993] False positive from -Wmaybe-uninitialized

2017-01-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78993 --- Comment #1 from David Malcolm --- Created attachment 40462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40462&action=edit Gimple dump from when warning is emitted

[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 --- Comment #1 from Andrew Pinski --- How positive you are that this is a libstdc++ bug rather than a clang bug? It works correctly with GCC 5.4.0's front-end and GCC 7.0's libstdc++ and front-end.

[Bug tree-optimization/78910] Wrong print-return-value for a negative number

2017-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78910 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor -

  1   2   >