[Bug tree-optimization/60656] [4.8 regression] x86 vectorization produces wrong code

bernhard.kaindl at thalesgroup dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 9 23:37:00 GMT 2015


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

Bernhard Kaindl <bernhard.kaindl at thalesgroup dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernhard.kaindl@thalesgroup
                   |                            |.com

--- Comment #15 from Bernhard Kaindl <bernhard.kaindl at thalesgroup dot com> ---
Confirmed:

*     Fixed in: gcc-4.9.2 (release)
* NOT Fixed in: gcc-4.8.4 (release)

It seems indeed only i386, x32 and x86_64 (-m32, -mx32 and -m64) are affected.

-fopt-info-vec-note show that e.g. powerpc & powerpc64 don't vectorize the
loop.

The mainline fix from Comment #8 apples without fuzz and fixes this wrong code
issue in gcc-4.8.4.

Apply it for 4.8.5?



More information about the Gcc-bugs mailing list