------- 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