This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30509] [4.3 Regression] ice for legal code with -O3
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2007 02:01:23 -0000
- Subject: [Bug c++/30509] [4.3 Regression] ice for legal code with -O3
- References: <bug-30509-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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