This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/12123] SIGBUS on strstr_sse42 due to bad alignment


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]