[Bug tree-optimization/70780] [6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 25 07:39:00 GMT 2016


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems starting with that revision we hoist *d before the loop (which would be
ok only if it is guarded by if (b), as if b is false, it is completely valid
that d is NULL or uninitialized etc. and causes trap).
Richard, can you please have a look?


More information about the Gcc-bugs mailing list