* [Bug middle-end/90794] [8/9/10 Regression] -O3 with "VLA type" in C++ leads to an ICE
[not found] <bug-90794-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-28 20:21 ` xerofoify at gmail dot com
2020-03-28 20:36 ` redi at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: xerofoify at gmail dot com @ 2020-03-28 20:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90794
Nicholas Krause <xerofoify at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xerofoify at gmail dot com
--- Comment #6 from Nicholas Krause <xerofoify at gmail dot com> ---
I can confirm about building trunk from yesterday that this code no longer ICEs
on 03. Can someone please close this bug as it no longer blocks C++ VLA for gcc
10.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/90794] [8/9/10 Regression] -O3 with "VLA type" in C++ leads to an ICE
[not found] <bug-90794-4@http.gcc.gnu.org/bugzilla/>
2020-03-28 20:21 ` [Bug middle-end/90794] [8/9/10 Regression] -O3 with "VLA type" in C++ leads to an ICE xerofoify at gmail dot com
@ 2020-03-28 20:36 ` redi at gcc dot gnu.org
2021-05-14 9:51 ` [Bug middle-end/90794] [9/10/11/12 " jakub at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2020-03-28 20:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90794
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Nicholas Krause from comment #6)
> I can confirm about building trunk from yesterday that this code no longer
> ICEs on 03. Can someone please close this bug as it no longer blocks C++ VLA
> for gcc 10.
No, because it still crashes on today's master. And even if it didn't, it's a
regression on the gcc-8 and gcc-9 branches so it needs to be fixed on those
branches before it can be closed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/90794] [9/10/11/12 Regression] -O3 with "VLA type" in C++ leads to an ICE
[not found] <bug-90794-4@http.gcc.gnu.org/bugzilla/>
2020-03-28 20:21 ` [Bug middle-end/90794] [8/9/10 Regression] -O3 with "VLA type" in C++ leads to an ICE xerofoify at gmail dot com
2020-03-28 20:36 ` redi at gcc dot gnu.org
@ 2021-05-14 9:51 ` jakub at gcc dot gnu.org
2021-06-01 8:14 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-05-14 9:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90794
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|8.5 |9.4
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/90794] [9/10/11/12 Regression] -O3 with "VLA type" in C++ leads to an ICE
[not found] <bug-90794-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2021-05-14 9:51 ` [Bug middle-end/90794] [9/10/11/12 " jakub at gcc dot gnu.org
@ 2021-06-01 8:14 ` rguenth at gcc dot gnu.org
2021-12-29 2:04 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90794
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/90794] [9/10/11/12 Regression] -O3 with "VLA type" in C++ leads to an ICE
[not found] <bug-90794-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2021-06-01 8:14 ` rguenth at gcc dot gnu.org
@ 2021-12-29 2:04 ` pinskia at gcc dot gnu.org
2021-12-29 2:06 ` [Bug middle-end/90794] [9/10 " pinskia at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-29 2:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90794
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |11.1.0
Known to fail| |10.1.0, 9.4.0
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
In GCC 11:
typedef double MAT[0:(sizetype) ((ssizetype) SAVE_EXPR <sz> -
1)][0:(sizetype) ((ssizetype) SAVE_EXPR <sz> - 1)];
double[0:(sizetype) ((ssizetype) SAVE_EXPR <sz> - 1)][0:(sizetype)
((ssizetype) SAVE_EXPR <sz> - 1)] * a;
double[0:(sizetype) ((ssizetype) SAVE_EXPR <sz> - 1)][0:(sizetype)
((ssizetype) SAVE_EXPR <sz> - 1)] * a;
<<cleanup_point <<< Unknown tree: expr_stmt
(void) (a = (double[0:(sizetype) ((ssizetype) SAVE_EXPR <sz> -
1)][0:(sizetype) ((ssizetype) SAVE_EXPR <sz> - 1)] *) malloc ((long unsigned
int) (((sizetype) SAVE_EXPR <sz> * (sizetype) SAVE_EXPR <sz>) * 8))) >>>>>;
return <retval> = a == 0B;
While in GCC 10:
typedef double MAT[0:(sizetype) (SAVE_EXPR <(ssizetype) sz +
-1>)][0:(sizetype) (SAVE_EXPR <(ssizetype) sz + -1>)];
double[0:(sizetype) (SAVE_EXPR <(ssizetype) sz + -1>)][0:(sizetype)
(SAVE_EXPR <(ssizetype) sz + -1>)] * a;
double[0:(sizetype) (SAVE_EXPR <(ssizetype) sz + -1>)][0:(sizetype)
(SAVE_EXPR <(ssizetype) sz + -1>)] * a;
<<cleanup_point <<< Unknown tree: expr_stmt
(void) (a = (double[0:(sizetype) (SAVE_EXPR <(ssizetype) sz +
-1>)][0:(sizetype) (SAVE_EXPR <(ssizetype) sz + -1>)] *) malloc ((long unsigned
int) ((((sizetype) (SAVE_EXPR <(ssizetype) sz + -1>) + 1) * ((sizetype)
(SAVE_EXPR <(ssizetype) sz + -1>) + 1)) * 8))) >>>>>;
return <retval> = a == 0B;
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/90794] [9/10 Regression] -O3 with "VLA type" in C++ leads to an ICE
[not found] <bug-90794-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2021-12-29 2:04 ` pinskia at gcc dot gnu.org
@ 2021-12-29 2:06 ` pinskia at gcc dot gnu.org
2022-05-27 9:41 ` [Bug middle-end/90794] [10 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-29 2:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90794
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[9/10/11/12 Regression] -O3 |[9/10 Regression] -O3 with
|with "VLA type" in C++ |"VLA type" in C++ leads to
|leads to an ICE |an ICE
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed for GCC 11+ by r11-283.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/90794] [10 Regression] -O3 with "VLA type" in C++ leads to an ICE
[not found] <bug-90794-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2021-12-29 2:06 ` [Bug middle-end/90794] [9/10 " pinskia at gcc dot gnu.org
@ 2022-05-27 9:41 ` rguenth at gcc dot gnu.org
2022-06-28 10:37 ` jakub at gcc dot gnu.org
2023-07-07 8:27 ` rguenth at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 9:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90794
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/90794] [10 Regression] -O3 with "VLA type" in C++ leads to an ICE
[not found] <bug-90794-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2022-05-27 9:41 ` [Bug middle-end/90794] [10 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:37 ` jakub at gcc dot gnu.org
2023-07-07 8:27 ` rguenth at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90794
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/90794] [10 Regression] -O3 with "VLA type" in C++ leads to an ICE
[not found] <bug-90794-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2022-06-28 10:37 ` jakub at gcc dot gnu.org
@ 2023-07-07 8:27 ` rguenth at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 8:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90794
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|10.5 |11.0
Known to fail| |10.5.0, 9.5.0
Status|NEW |RESOLVED
--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed in GCC 11.
^ permalink raw reply [flat|nested] 9+ messages in thread