This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40492] [4.5 Regression] ice in create_tmp_var
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jun 2009 12:37:50 -0000
- Subject: [Bug c++/40492] [4.5 Regression] ice in create_tmp_var
- References: <bug-40492-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-06-19 12:37 -------
Confirmed. Caused by new SRA - we are creating a temporary with
TREE_ADDRESSABLE
type.
typedef unsigned short ushort;
class QChar {
public:
QChar( const QChar& c );
ushort ucs;
};
inline QChar::QChar( const QChar& c ) : ucs( c.ucs ) { };
class QString { };
class KoAutoFormat {
public:
struct TypographicQuotes { QChar begin, end; };
TypographicQuotes getConfigTypographicDoubleQuotes() const {
return m_typographicDoubleQuotes;
}
TypographicQuotes m_typographicDoubleQuotes;
};
class KoAutoFormatDia {
QChar oDoubleBegin, oDoubleEnd;
KoAutoFormat * m_docAutoFormat;
bool noSignal;
void changeAutoformatLanguage(void);
};
void KoAutoFormatDia::changeAutoformatLanguage(void)
{
oDoubleEnd= m_docAutoFormat->getConfigTypographicDoubleQuotes().end;
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mjambor at suse dot cz
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-06-19 12:37:49
date| |
Summary|ice in create_tmp_var |[4.5 Regression] ice in
| |create_tmp_var
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40492