[Bug middle-end/25505] [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 22 13:05:00 GMT 2007



------- Comment #25 from jakub at gcc dot gnu dot org  2007-11-22 13:05 -------
Don't see the point of keeping this bug open for the trunk:

with g++ -O2 -m32 pr25505.ii from #c1 on ppc64-linux

g++ 3.2.3

sed -n 's/^[[:blank:]]*stwu 1,//p' pr25505.s | sort -nur
-16(1)
-32(1)
-48(1) 
-64(1) 
-80(1) 
-96(1) 
-128(1)
-192(1)
-320(1)
-336(1)
-384(1) 
-512(1)  
-592(1)  
-688(1) 
-7232(1)

g++ 4.1.2

sed -n 's/^[[:blank:]]*stwu 1,//p' pr25505.s | sort -nur
-16(1)
-32(1)
-48(1)
-64(1)
-80(1) 
-96(1) 
-112(1)
-128(1)
-224(1)
-272(1)
-320(1)
-336(1)
-352(1) 
-432(1)  
-1024(1)
-13168(1)

trunk

sed -n 's/^[[:blank:]]*stwu 1,//p' pr25505.s | sort -nur
-16(1)
-32(1)
-48(1)
-64(1) 
-80(1) 
-96(1) 
-112(1)
-144(1)
-208(1)
-224(1)
-336(1)
-400(1) 
-768(1)  


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.0/4.1/4.2/4.3 Regression]|[4.0/4.1/4.2 Regression] gcc
                   |gcc uses way too much stack |uses way too much stack
                   |space for this code         |space for this code


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



More information about the Gcc-bugs mailing list