https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105675
--- Comment #6 from Ruslan Mkoyan ---
By the way, there is one more file (attached 0.cpp.gz).
gcc-9 0.cpp is processed but gcc-12 0.cpp - segfault. With extension .c its ok
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105675
--- Comment #5 from Ruslan Mkoyan ---
Created attachment 53018
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53018=edit
0.cpp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105675
--- Comment #4 from Ruslan Mkoyan ---
(In reply to Andrew Pinski from comment #3)
> This is a won't fix stitutation.
>
> You have & on a type repeated 237,679 times.
>
> With a recusive decent compiler, you run out of stack space with that
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105675
--- Comment #2 from Ruslan Mkoyan ---
Created attachment 53009
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53009=edit
Input file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105675
Bug ID: 105675
Summary: Segmentation fault
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: