This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12123] SIGBUS on strstr_sse42 due to bad alignment
- From: "viriketo at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 27 Oct 2010 12:38:00 +0000
- Subject: [Bug libc/12123] SIGBUS on strstr_sse42 due to bad alignment
- Auto-submitted: auto-generated
- References: <bug-12123-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12123
--- Comment #16 from LluÃs Batlle <viriketo at gmail dot com> 2010-10-27 12:37:47 UTC ---
(In reply to comment #15)
> strstr.os was compiled with -mpreferred-stack-boundary=2 which implies
> -mincoming-stack-boundary=2, so it is a compiler bug if it assumes bigger
> alignment.
So you think that, if the user asked "-mpreferred-stack-boundary=2", but the
function body has SSE vectors (that have to be 4w aligned), gcc should decide
to align them properly to 4w instead of blindly setting a 2w stack alignment,
right?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.