This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9
- From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2008 18:19:26 -0000
- Subject: [Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9
- References: <bug-37012-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from howarth at nitro dot med dot uc dot edu 2008-08-03 18:19 -------
Another of the testsuite execution tests that are failing is regparm-1.exe.
When compiled as in the testsuite run as...
gcc-4 ./regparm-1.c -Os -mstackrealign -mpreferred-stack-boundary=5 -g -fpic
-fno-show-column -lm -o ./regparm-1.exe
I get...
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00001000
0x00001def in check_int ()
(gdb) bt
#0 0x00001def in check_int ()
#1 0x00001f2d in test_nested ()
#2 0x00001f92 in main ()
which I narrowed down with printfs to be the line...
int __attribute__ ((__noinline__, __regparm__(2))) foo (int j, int k, int l)
in test_nested().
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37012