https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117866
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2024-12-01 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase: ``` void convert(struct fractpoint *pt); struct fractpoint { int x; }; void f(struct fractpoint dest) { convert(&dest); } ``` I know the tag rules changed so I am not sure. Obvious fix is to forward declare the tag by adding `struct fractpoint;` in front of the struct XYspace definition.