[Bug tree-optimization/101419] [9/10/11/12 Regression] collapsing memset() calls can break __builtin_object_size()

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 12 12:07:31 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #13)
> Note usually we still run all property providers but the way you set
> the property outside of pass->properties_provided breaks this.  Thus
> maybe split objsz into two separate passes rather than using the
> flag so you can use properties_provided.

I wanted to avoid having two separate passes, but if you prefer it, it can be
done.  Will be a user visible change in the dumps and for -fdisable-tree-* etc.
(though we do such changes all the time).


More information about the Gcc-bugs mailing list