[Bug target/10395] [x86] vector types are incorrectly aligned causing crash in multi-threaded apps or when using in main, plus other times
uros at kss-loka dot si
gcc-bugzilla@gcc.gnu.org
Wed Dec 15 08:36:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list