https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117145
Martin Uecker <muecker at gwdg dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |muecker at gwdg dot de --- Comment #9 from Martin Uecker <muecker at gwdg dot de> --- These flags are often implied by some element / target type, so creating a copy of the type should not be necessary. For arrays there are some corner cases where one needs to be careful. I have a new patch that adds explicit checking code to make sure it is consistent. But this is an extra function, I could add checking also when reusing old types.