This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26022] [4.2 Regression] ice at cp/cp-objcp-common.c:101
- 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: 30 Jan 2006 02:23:05 -0000
- Subject: [Bug c++/26022] [4.2 Regression] ice at cp/cp-objcp-common.c:101
- References: <bug-26022-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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