--- Comment #3 from rguenth at gcc dot gnu dot org 2006-11-12 14:18 ---
Confirmed. Reduced testcase that fails with -O -finline-functions:
class QDate { };
class QTime {
public:
bool operator>( const QTime &d ) const { return ds > d.ds; }
unsigned ds;
};
class QDateTime {
public:
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-11-12 13:37 ---
With g++ 4.1.1-13 (g++ (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)) I
see
timertable.cpp: In member function void TimerTableItem::setTable(int,
QDateTime, QTime, QString, QString, int, int, QString):
timer
--- Comment #1 from chris_clayton at f1internet dot com 2006-11-12 09:35
---
Created an attachment (id=12596)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12596&action=view)
Preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29809