[Bug rtl-optimization/45678] [4.4/4.5/4.6 Regression] crash on vector code with -m32 -msse
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 16 13:59:00 GMT 2010
------- Comment #16 from hjl dot tools at gmail dot com 2010-09-16 13:59 -------
(In reply to comment #13)
> With that patch the assignment generated from memcpy doesn't need more
> that int alignment, but still cfgexpand.c sets DECL_ALIGN of the
> decl to 128 so expand uses aligned instructions.
>
> cfgexpand.c should not increase alignment and not set 'needs stack
> alignment' then, based on your comment #10. So this _is_ about
> stack alignment (but maybe not exclusively).
>
When we do
float d[4];
__m128 *p = (__m128 *) &d;
all bets are off.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45678
More information about the Gcc-bugs
mailing list