[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 07:55:20 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94734
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #8)
> In particular tree_could_trap_p woudl consider the load possibly trapping
> due to the variable indexing but the patch seems to override that which
> I agree is bogus. I think we need to revert it and re-implement for GCC 11.
> All testcases contain a dominating load in the condition and what we _can_
> do is treat loads of stack variables the same as stores as far as
> non-trappingness is concerned.
Actually the non-trapping machinery only considers plain SSA name
dereferences so there's much more to extend. Definitely nothing
for GCC 10.
More information about the Gcc-bugs
mailing list