https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108375
Martin Uecker <muecker at gwdg dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #54458|0 |1
is obsolete| |
--- Comment #7 from Martin Uecker <muecker at gwdg dot de> ---
Created attachment 54473
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54473&action=edit
patch against trunk
This patch should be better. It is a FE only change. It stores uses a LANG_FLAG
for each type to store whether it is a VM type which is set during
construction. This should be very efficient. The existing (previously useless)
lang hook then also communicates this information to the middle end. The
variably_modified_p function in tree.cc now does unnecessary work for C, maybe
this could be avoided.