http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47324

--- Comment #7 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-17 
00:04:47 UTC ---
These failures appear to be unrelated to stack realignment. I find that...

[MacPro:~/eh_bug] howarth% g++-fsf-4.6
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110116/gcc/testsuite/g++.dg/torture/stackalign/eh-alloca-1.C
-nostdinc++ -O3 -multiply_defined suppressed -g -lm -m32 -o ./eh-alloca-1.exe
[MacPro:~/eh_bug] howarth% ./eh-alloca-1.exe
terminate called after throwing an instance of 'A'
Abort
[MacPro:~/eh_bug] howarth% g++-fsf-4.6
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110116/gcc/testsuite/g++.dg/torture/stackalign/eh-alloca-1.C
-nostdinc++ -O3 -multiply_defined suppressed -g0 -lm -m32 -o ./eh-alloca-1.exe
[MacPro:~/eh_bug] howarth% ./eh-alloca-1.exe                                   
                                                                        
[MacPro:~/eh_bug] howarth% 

This behavior is seen for all optimization levels (-O0,-O1, -O2,-O3,-Os).
Without -g, the resulting testcase runs fine and with -g it aborts.

Reply via email to