http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50365
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-09-12 14:44:20 UTC --- further reduced struct String { String(const char* s, int len); bool test(); }; struct XplorVars { const char* aner; }; struct XplorSimulation { XplorSimulation(); XplorVars* xplorVars(); }; XplorSimulation::XplorSimulation() { if ( String(xplorVars()->aner, 4).test() ) ; }