[Bug target/55940] Incorrect code for accessing parameters with 32-bit Intel hosts

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 11 11:27:00 GMT 2013


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-01-11
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-11 11:26:44 UTC ---
Please provide preprocessed source and compiler command-line.

I suppose VBoxHost_RTR0MemObjGetPagePhysAddr is static so the compiler
is free to choose a more optimal calling convention.  If you want to
avoid this mark it with the used attribute, I don't think an explicit
regparm(0) will prevent this.

Just guessing, without a testcase.



More information about the Gcc-bugs mailing list