This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/55940] Incorrect code for accessing parameters with 32-bit Intel hosts
- From: "fm3 at os dot inf.tu-dresden.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 15 Jan 2013 13:53:04 +0000
- Subject: [Bug target/55940] Incorrect code for accessing parameters with 32-bit Intel hosts
- Auto-submitted: auto-generated
- References: <bug-55940-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55940
--- Comment #4 from Frank Mehnert <fm3 at os dot inf.tu-dresden.de> 2013-01-15 13:53:04 UTC ---
The problem is that I cannot reproduce this problem either. Some versions of
gcc 4.7 might be affected (the affected user uses 'Exherbo gcc-4.7.2-r2'),
others not. As far as I can tell, only Intel 32-bit code is affected.
Regarding -mrtd: I don't know if this command line parameter is used at all.
I've just asked the affected user for the complete command line. But a function
with 'cdecl,regparm(0)' should pass all parameters on the stack on 32-bit x86
machines, right? And even if some parameters are passed in registers, EDI is
normally not used, only EAX, EDX or ECX but never EDI.