[Bug debug/31004] arm ABI bug in transfer structure on the 4th parameter
rearnsha at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 23 15:20:00 GMT 2009
------- Comment #2 from rearnsha at gcc dot gnu dot org 2009-12-23 15:20 -------
Fixed by Paul's patch:
http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00378.html
Prior to this patch, when debugging the testcase I see:
(gdb)
subfunc (a=492, b=2097148, c=0, d=...) at test.c:9
9 printf("a %x b %x c %x d.y %x d.z %x\n",a,b,c,d.y,d.z);
With the patch, I see:
subfunc (a=0, b=1, c=2, d=...) at test.c:9
9 printf("a %x b %x c %x d.y %x d.z %x\n",a,b,c,d.y,d.z);
(gdb) p d
$1 = {y = 3, z = 4}
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31004
More information about the Gcc-bugs
mailing list