[Bug target/19704] ICE for tail call of regparm 3 and dllimport

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jan 30 05:37:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-30 05:37 -------
Here is the reduced testcase which shows that it has nothing to do with C++ methods at all but just tail 
call and regparm 3 and dllimport:

__declspec(dllimport) void __attribute__ ((regparm(3))) assign(const int *this1, char*, int);
void Foo_GetData(int *this1, char * D1588, int D1587)
{
  assign (this1, D1588, D1587);
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-30 05:37:07
               date|                            |
            Summary|regparm vs dllimport of C++ |ICE for tail call of regparm
                   |methods                     |3 and dllimport


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



More information about the Gcc-bugs mailing list