On Mon, Apr 15, 2024 at 10:02:25AM +0200, Richard Biener wrote: > > Though, haven't managed to reproduce it with -O2 -flto -std=c23 > > struct S; > > typedef struct S **V[10]; > > V **foo (int x) { return 0; } > > struct S { int s; }; > > either. > > So, maybe let's drop the ipa-free-lang-data.cc part? > > Seems fld_incomplete_type_of uses fld_type_variant which should > > copy over TYPE_CANONICAL. > > If you have a testcase that still triggers it would be nice to see it.
I don't, that is why I'm now suggesting to just drop that hunk. Jakub