This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29818] code with SSE segfaults with gcc-3.4.6, runs fine with gcc-4.1.1
- From: "sergstesh at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2006 01:59:18 -0000
- Subject: [Bug target/29818] code with SSE segfaults with gcc-3.4.6, runs fine with gcc-4.1.1
- References: <bug-29818-13529@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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