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++/26022] [4.2 Regression] ice at cp/cp-objcp-common.c:101



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-01-30 02:23 -------
Confirmed, reduced testcase:
struct QCString
{
    char * data() const;
};
struct QString
{
    QString( const QString & );
    QString &operator=( const QString & );
};
QCString convertToQCString(const QString &s);
struct QDate
{
    virtual QString monthName( int month ) const;
    static QDate currentDate();
};
QCString dateToString(bool includeTime)
{
    const QDate &d=QDate::currentDate();
    convertToQCString(d.monthName(1)).data();
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.2.0
      Known to work|                            |4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-30 02:23:05
               date|                            |
            Summary|ice at cp/cp-objcp-         |[4.2 Regression] ice at
                   |common.c:101                |cp/cp-objcp-common.c:101
   Target Milestone|---                         |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26022


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