This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/31004] arm ABI bug in transfer structure on the 4th parameter
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2009 15:20:15 -0000
- Subject: [Bug debug/31004] arm ABI bug in transfer structure on the 4th parameter
- References: <bug-31004-8057@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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