[Bug c/114361] ICE with c23 when creating mutually nested and compatible types with statement expressions

2024-03-29 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114361

Martin Uecker  changed:

   What|Removed |Added

 Resolution|DUPLICATE   |---
 Status|RESOLVED|UNCONFIRMED

--- Comment #4 from Martin Uecker  ---

Though similar symptoms, this is not a duplicate for 114014

[Bug c/114361] ICE with c23 when creating mutually nested and compatible types with statement expressions

2024-03-29 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114361

--- Comment #3 from Martin Uecker  ---
Created attachment 57834
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57834=edit
patch



Tentative patch.

[Bug c/114361] ICE with c23 when creating mutually nested and compatible types with statement expressions

2024-03-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114361

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|UNCONFIRMED |RESOLVED

--- Comment #2 from Andrew Pinski  ---
Dup of bug 114014.

*** This bug has been marked as a duplicate of bug 114014 ***

[Bug c/114361] ICE with c23 when creating mutually nested and compatible types with statement expressions

2024-03-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114361

--- Comment #1 from Andrew Pinski  ---
Oh it needs -g too.