This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/10395] [x86] vector types are incorrectly aligned causing crash in multi-threaded apps or when using in main, plus other times
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2004 08:33:01 -0000
- Subject: [Bug target/10395] [x86] vector types are incorrectly aligned causing crash in multi-threaded apps or when using in main, plus other times
- References: <20030413224600.10395.vgrebinski@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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