[Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 24 09:22:00 GMT 2020


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

--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #13)
> Even better.

Note none of the committed testcases would be handled with this.  There's
also the issue of store data races (not sure if the notrap handling is
correct there, it looks like not) - for auto variables that would not
be an issue (but would need to be checked extra).  A dominating store
to the same location isn't enough to prove validity either since
that might be inside a different protected region.


More information about the Gcc-bugs mailing list