[Bug tree-optimization/80054] [7 Regression] ICE in verify_ssa with -O3 -march=broadwell/skylake-avx512
wschmidt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 16 20:23:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80054
--- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
PRE creates a situation where a conditional SLSR candidate depends on a PHI
that occurs prior to the basis for the candidate. SLSR doesn't notice this and
eventually creates a phi basis that is not dominated by the true basis, leading
to a use of an undefined variable.
The fix will be to test whether the basis dominates all PHIs and their PHI
argument definitions, and avoid the optimization in such cases. Testing now.
More information about the Gcc-bugs
mailing list