This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/53460] [4.7/4.8 Regression] Internal compiler error: in calc_dfs_tree, at dominance.c:395
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 May 2012 09:43:13 +0000
- Subject: [Bug middle-end/53460] [4.7/4.8 Regression] Internal compiler error: in calc_dfs_tree, at dominance.c:395
- Auto-submitted: auto-generated
- References: <bug-53460-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53460
--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-24 09:43:13 UTC ---
More reduced:
template<typename T> class OwnPtr {
public:
~OwnPtr();
};
template<class T> class GlyphMetricsMap {
public:
GlyphMetricsMap() { }
OwnPtr<int> m_pages;
};
class SimpleFontData {
public:
void boundsForGlyph() const;
};
inline __attribute__((__always_inline__))
void SimpleFontData::boundsForGlyph() const
{
new GlyphMetricsMap<int>;
}
void offsetToMiddleOfGlyph(const SimpleFontData* fontData)
{
fontData->boundsForGlyph();
}