------- Additional Comments From rth at gcc dot gnu dot org 2004-12-14 00:37 ------- According to comment #12, this was a cygwin bug wrt the initial alignment of the main and thread stacks. Even the test program in comment #10, which is supposed to be reproducible for linux is not reproducible here with Fedora Core 3. I can only assume that SuSe 8.3 ships a broken thread library.
Marking PR17930 as a duplicate was a mistake. While the symptom is the same, this one has not shown to be a gcc bug at all. If you find a new test case that you think shows this problem again, first thing to do is validate that the stack is correctly aligned by the system. Note that the return address for the function should be at address 12 modulo 16. If that's true, then file another bug; this one's a bit disjointed already. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14776