[Bug c++/30509] [4.3 Regression] ice for legal code with -O3
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 22 02:01:00 GMT 2007
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-22 02:01 -------
Reduced testcase:
struct all{ };
struct g {
g(const all& __a){ }
};
template<typename _Tp>
struct vector: protected g
{
vector(const all& __a = all()) : g(__a) { }
};
void f() throw();
struct Logger {
bool m_bUseFile;
vector<int> m_msgQueue;
Logger();
};
Logger* getInstance() {
return new Logger();
}
void useVerboseLog( bool bUse )
{
getInstance()->m_bUseFile = bUse;
}
Logger::Logger() { f(); }
-----
I need to test a newer version of the trunk still.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Summary|ice for legal code with -O3 |[4.3 Regression] ice for
| |legal code with -O3
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30509
More information about the Gcc-bugs
mailing list