[Bug c++/92427] New: Initializing an element which has a zero-length array of a type-with-destructor causes an internal compiler error

2019-11-08 Thread nmehrotra at riorey dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92427 Bug ID: 92427 Summary: Initializing an element which has a zero-length array of a type-with-destructor causes an internal compiler error Product: gcc Version: 8.3

[Bug c++/92427] Initializing an element which has a zero-length array of a type-with-destructor causes an internal compiler error

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92427 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/92428] New: Crash on conflicting types

2019-11-08 Thread dpotapov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92428 Bug ID: 92428 Summary: Crash on conflicting types Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug c++/92427] Initializing an element which has a zero-length array of a type-with-destructor causes an internal compiler error

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92427 --- Comment #2 from Marek Polacek --- GCC 5 says: 92427.C:11:25: error: too many initializers for ‘C [0]’ } y = { 1, { { 2, 3 } } }; ^ then since r231665 we accepted the test. Then since r233126 92427.C: In destructor

[Bug fortran/83079] ICE in gfc_widechar_to_char, at fortran/scanner.c:198

2019-11-08 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83079 --- Comment #4 from anlauf at gcc dot gnu.org --- The following patch fixes the testcase in comment#3: Index: gcc/fortran/trans-intrinsic.c === --- gcc/fortran/trans-intrinsic.c

[Bug c++/92058] constinit disregards non-constexpr constructor

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92058 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Fri Nov 8 21:40:45 2019 New Revision: 277990 URL: https://gcc.gnu.org/viewcvs?rev=277990&root=gcc&view=rev Log: PR c++/92058 - constinit malfunction in static data member.

[Bug c++/92058] constinit disregards non-constexpr constructor

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92058 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92215] flawed diagnostic for bit-field with non-integral type

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92215 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92215] flawed diagnostic for bit-field with non-integral type

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92215 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Fri Nov 8 21:48:47 2019 New Revision: 277991 URL: https://gcc.gnu.org/viewcvs?rev=277991&root=gcc&view=rev Log: PR c++/92215 - flawed diagnostic for bit-field with non-integra

[Bug c/92428] Crash on conflicting types

2019-11-08 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92428 --- Comment #1 from joseph at codesourcery dot com --- Each enum type is compatible with an integer type, and in GCC that's unsigned int by default (in the absence of values that don't fit in unsigned int), so it's valid to declare a function b

[Bug c++/90998] [9 Regression] ICE (segfault) in gcc/cp/call.c compare_ics() with -std=c++17

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90998 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Fri Nov 8 21:52:39 2019 New Revision: 277992 URL: https://gcc.gnu.org/viewcvs?rev=277992&root=gcc&view=rev Log: PR c++/90998 - ICE with copy elision in init by ctor and -Wconv

[Bug c++/90998] [9 Regression] ICE (segfault) in gcc/cp/call.c compare_ics() with -std=c++17

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90998 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92426] ICE on spaceship declaration plus other P1185R2 interaction issue

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92426 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/91582] missing heap overflow detection for strcpy

2019-11-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91582 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Sebor -

[Bug middle-end/79016] missing -Wstringop-overflow= overflowing allocated buffers

2019-11-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79016 Martin Sebor changed: What|Removed |Added Keywords||patch Target Milestone|---

[Bug fortran/82243] -fcheck=bounds not checking, and behaving differently with different real kinds

2019-11-08 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82243 --- Comment #4 from anlauf at gcc dot gnu.org --- I don't think that it has to do with kinds. Currently there simply seems to be no code being emitted for array constructors. Example: program p implicit none integer :: i, n = 40 real:

[Bug tree-optimization/85484] missing -Wstringop-overflow for strcpy with a string of non-const length

2019-11-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85484 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/92357] ICE in IPA pass fnsummary in openmp offload

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357 --- Comment #4 from Jakub Jelinek --- Created attachment 47202 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47202&action=edit pr92357.ii Partially reduced testcase.

[Bug libstdc++/90295] Please define ~exception_ptr inline

2019-11-08 Thread redbeard0531 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90295 Mathias Stearn changed: What|Removed |Added CC||redbeard0531 at gmail dot com --- Comme

[Bug tree-optimization/92429] New: [10 Regression] ICE in vect_transform_stmt, at tree-vect-stmts.c:10918

2019-11-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92429 Bug ID: 92429 Summary: [10 Regression] ICE in vect_transform_stmt, at tree-vect-stmts.c:10918 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-va

[Bug tree-optimization/92347] [10 Regression] ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1537

2019-11-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92347 --- Comment #2 from Arseny Solokha --- I believe I have something that is a different manifestation of the same problem. 1. gcc-10.0.0-alpha20191103 snapshot (r277758) ICEs when compiling the following testcase reduced from gcc/testsuite/gcc.dg/

[Bug tree-optimization/92430] New: [10 Regression] Compile-time hog w/ -Os -fno-if-conversion -fno-tree-dce -fno-tree-loop-optimize -fno-tree-vrp

2019-11-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92430 Bug ID: 92430 Summary: [10 Regression] Compile-time hog w/ -Os -fno-if-conversion -fno-tree-dce -fno-tree-loop-optimize -fno-tree-vrp Product: gcc Version: 10.0

<    1   2