This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/40492] [4.5 Regression] ice in create_tmp_var



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]