[Bug debug/105636] -gctf causes an ICE on some invalid code

2022-05-19 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105636 --- Comment #2 from Indu Bhagat --- I found the minimum reproducer to be: $ cat testcase.c static int sa[100]; int n; static int (*a2)[] = (__typeof__(int (*)[n]))sa; I tried to debug this and found out that the likely cause is some invalidit

[Bug debug/105636] -gctf causes an ICE on some invalid code

2022-05-19 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105636 --- Comment #1 from Indu Bhagat --- Thank you for reporting this. I can reproduce it, nice and easy :)

[Bug debug/105636] -gctf causes an ICE on some invalid code

2022-05-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105636 Martin Liška changed: What|Removed |Added CC||ibhagat at gcc dot gnu.org,