[Bug c/105675] Segmentation fault

2022-05-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105675 --- Comment #7 from Andrew Pinski --- Again this is just a limitation in the stack size. Try doing: ulimit -s unlimited and you will most likely see they both work. We could change the parser not to be as recusive function calls here but this

[Bug c/105675] Segmentation fault

2022-05-23 Thread watarai775 at gmail dot com via Gcc-bugs
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

[Bug c/105675] Segmentation fault

2022-05-23 Thread watarai775 at gmail dot com via Gcc-bugs
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

[Bug c/105675] Segmentation fault

2022-05-22 Thread watarai775 at gmail dot com via Gcc-bugs
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

[Bug c/105675] Segmentation fault

2022-05-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105675 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/105675] Segmentation fault

2022-05-20 Thread watarai775 at gmail dot com via Gcc-bugs
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

[Bug c/105675] Segmentation fault

2022-05-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105675 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0