This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 target/10395] [x86] vector types are incorrectly aligned causing crash in multi-threaded apps or when using in main, plus other times


------- Additional Comments From uros at kss-loka dot si  2004-12-15 08:32 -------
Comment #32 in PR 17990 says:

In response to comment #30: it is libpthread's responsibility to align the 
stack of subthreads properly. It doesn't do that, however, but I believe 
that we have another PR for that (this is something that we can't really 
do anything about, however).

This is the mentioned PR. The testcase in PR 17990 is the testcase from comment
#2 from this PR.

The default pthread library in RedHat 8.0 does align stack properly, as I am
able to trigger the bug. Testcase shows:

&x = 0xbffff9cc &s= 0xbffff9b0
&x = 0x4085fac8 &s= 0x4085faac

Should this bug be closed as WONTFIX?




-- 


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


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