[Bug tree-optimization/21081] [4.1 Regression] internal compiler error: verify_stmts failed.
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 20 00:08:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-20 00:08 -------
Do you know if this also works with the 4.0 branch?
Reduced testcase:
class wxString;
extern __attribute__((dllimport)) char* wxEmptyString;
struct wxString {};
inline wxString& wxGetEmptyString()
{
return *(wxString *)&wxEmptyString;
}
wxString GetHeader()
{
return wxGetEmptyString();
}
This is very target dependent as the __attribute__ is which is causing the problem.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-04-20 00:08:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21081
More information about the Gcc-bugs
mailing list