------- Comment #7 from greened at obbligato dot org  2010-09-08 18:58 -------
(In reply to comment #5)
> Why is the code undefined?  Can you explain in terms of the original test
> source?  I don't immediately see anything undefined there.

Ah, the cast from int field5 to v4df?  Yes, that doesn't look right to me.  Is
this what you're talking about?

It seems to me that gcc should emit a warning about this and/or not assume that
&field5 is aligned to 32 bytes, as there is nothing in the source specifying
such alignment.

If it's an illegal program, gcc should at least emit a warning, if not an
error.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45600

Reply via email to