[Bug c++/60063] [5/6/7/8 Regression] -Wunused-local-typedefs warning despite attribute used in a template

2017-06-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60063 --- Comment #5 from Jason Merrill --- Author: jason Date: Sun Jun 18 04:55:02 2017 New Revision: 249347 URL: https://gcc.gnu.org/viewcvs?rev=249347&root=gcc&view=rev Log: PR c++/60063 - -Wunused-local-typedefs and templates. * d

[Bug c++/60063] [5/6/7/8 Regression] -Wunused-local-typedefs warning despite attribute used in a template

2017-06-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60063 --- Comment #4 from Jason Merrill --- Author: jason Date: Sun Jun 18 04:54:37 2017 New Revision: 249346 URL: https://gcc.gnu.org/viewcvs?rev=249346&root=gcc&view=rev Log: PR c++/60063 - -Wunused-local-typedefs and templates. * d

[Bug c++/70844] [6/7/8 Regression] spurious -Wuseless-cast warning with inherited constructors

2017-06-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70844 --- Comment #3 from Jason Merrill --- Author: jason Date: Sun Jun 18 04:25:15 2017 New Revision: 249344 URL: https://gcc.gnu.org/viewcvs?rev=249344&root=gcc&view=rev Log: PR c++/70844 - -Wuseless-cast and inheriting constructor.

[Bug c++/70844] [6/7/8 Regression] spurious -Wuseless-cast warning with inherited constructors

2017-06-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70844 --- Comment #3 from Jason Merrill --- Author: jason Date: Sun Jun 18 04:25:15 2017 New Revision: 249344 URL: https://gcc.gnu.org/viewcvs?rev=249344&root=gcc&view=rev Log: PR c++/70844 - -Wuseless-cast and inheriting constructor.

[Bug ada/81087] array index out of range in gnatlink, making test always false

2017-06-17 Thread nicolas.boulenguez at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81087 nicolas.boulenguez at free dot fr changed: What|Removed |Added Attachment #41549|0 |1 is obsolete|

[Bug middle-end/81120] __builtin_nansl ("") generates quiet NaN

2017-06-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 --- Comment #2 from John David Anglin --- If the original testcase is compiled with -fsignaling-nans, the signaling nan is not converted to a quiet nan. Thus, I believe the conversion is expected. There might be an issue with the second testcas

[Bug c/81117] Improve buffer overflow checking in strncpy

2017-06-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81117 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug middle-end/81120] __builtin_nansl ("") generates quiet NaN

2017-06-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 --- Comment #1 from John David Anglin --- This seems quite tricky. Conversion changes a signaling nan to a quiet nan: /* Make resulting NaN value to be qNaN. The caller has the responsibility to avoid the operation if flag_signaling_nans

[Bug debug/48315] ICE in mem_loc_descriptor, at dwarf2out.c:13899

2017-06-17 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48315 --- Comment #4 from dave.anglin at bell dot net --- On 2017-06-16, at 9:59 AM, ramana at gcc dot gnu.org wrote: > is this still an issue ? I don't know. I haven't used the box for some time. I suspect the bug is likely fixed. Dave -- John Da

[Bug middle-end/81120] New: __builtin_nansl ("") generates quiet NaN

2017-06-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 Bug ID: 81120 Summary: __builtin_nansl ("") generates quiet NaN Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-e

[Bug c/81117] Improve buffer overflow checking in strncpy

2017-06-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81117 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug c++/81119] New: gcc 8.0 regression: -Wshadow warns on "typedef struct foo foo;"

2017-06-17 Thread dudul04 at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81119 Bug ID: 81119 Summary: gcc 8.0 regression: -Wshadow warns on "typedef struct foo foo;" Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c/81118] [8 Regression] ice in remove_redundant_iv_tests

2017-06-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81118 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Version|7.0

[Bug libstdc++/80893] std::vector creation dereferences null pointer

2017-06-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80893 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Sat Jun 17 12:11:47 2017 New Revision: 249338 URL: https://gcc.gnu.org/viewcvs?rev=249338&root=gcc&view=rev Log: PR libstdc++/80893 don't run test for C++98 modes PR libstdc++/8

[Bug c/81118] ice in remove_redundant_iv_tests

2017-06-17 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81118 David Binderman changed: What|Removed |Added CC||rguenther at suse dot de --- Comment #

[Bug c/81118] ice in remove_redundant_iv_tests

2017-06-17 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81118 --- Comment #2 from David Binderman --- Problem seems to be between gcc revision 249235 and 249337.

[Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instanciate some objects

2017-06-17 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81073 --- Comment #4 from Georg-Johann Lay --- (In reply to Jason Merrill from comment #3) > The testcase in comment 1 works on trunk and current 7 branch. The original > testcase looks ill-formed to me; [dcl.constexpr] says that a constexpr > functio

[Bug c/81118] ice in remove_redundant_iv_tests

2017-06-17 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81118 --- Comment #1 from David Binderman --- Reduced code: a[7], b; c() { int d, e; for (; d; d++) if (a[d]) if (b) return; else if (d >= e) return 0; }

[Bug c/81118] New: ice in remove_redundant_iv_tests

2017-06-17 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81118 Bug ID: 81118 Summary: ice in remove_redundant_iv_tests Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assign

[Bug c/81117] Improve buffer overflow checking in strncpy

2017-06-17 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81117 --- Comment #1 from Daniel Fruzynski --- In this case this code will lead to buffer overflows, but in general case it often may work fine. However this is still error in code, and it would be good if gcc could detect and report it.

[Bug c/81117] New: Improve buffer overflow checking in strncpy

2017-06-17 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81117 Bug ID: 81117 Summary: Improve buffer overflow checking in strncpy Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c