------- Comment #15 from sergstesh at yahoo dot com  2006-11-19 01:59 -------
Is the alignment requirement always applicable in all the cases, or just
for gcc-3.4.6 ?

Remember, in this case gcc-4.1.1 produces code which doesn't segfault.

Is it that gcc-4.1.1 optimizes out the failing line ?
Is it that gcc-4.1.1 falsely aligns the memory location in question ?
Is it that gcc-4.1.1 uses misaligned load into SSE registers by default ?

Is there any page in gcc manual clearly saying:

"align your data properly or your program will segfault"

?

I am specifically interested in the "or your program will segfault" part ?


-- 

sergstesh at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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

Reply via email to