This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trunk][patch] don't use SAVE_EXPR on TYPE_SIZE
> Note that after gimplification (LTO streaming is after that, right?) the
> TYPE_SIZE{_UNIT}s that are still used/needed are gimplified into the
> IL (and a gimple temporary is stored in the TYPE_SIZE{_UNIT}s place)
> and the SAVE_EXPRs are removed. So if after gimplification
> !is_gimple_val trees in TYPE_SIZE{_UNIT} remain they are "unused".
> Of course not (de-)serializing them at all might still break stuff.
It is after gimplification, yes. Interesting, so the gimplifier does
change some types. If it is unused, we should probably clear the
field. I will try to find where it should be done in the gimplifier.
> Richard.
>
Thanks,
--
Rafael Avila de Espindola
Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4
Ireland
Registered in Dublin, Ireland
Registration Number: 368047