------- 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