Update pass manager to handle generate_summary/transform functions
Rafael Espindola
espindola@google.com
Mon Jul 7 12:17:00 GMT 2008
This patch produces a very interesting regression. If I compile the
following code with -Wall -Werror -O2, it will print "note: 'abc' was
declared here" but not the rest of the warning. cc1plus also returns
0, despite -Werror.
--------------------------------------------------------------------------
class basic_streambuf {
public: virtual ~basic_streambuf() {
}
};
class basic_ostream {
# 492 "foo" 3
};
class basic_stringbuf : public basic_streambuf {
};
class ostringstream {
private: basic_stringbuf _M_stringbuf;
};
void f(long double __v);
inline void f4(long value) {
ostringstream s;
f (value);
}
inline void f3( const long& value) {
f4(value);
};
# 39 "foo2"
void f2() {
long abc;
f3(abc);
}
long test123;
void f1() {
f3(test123);
}
--------------------------------------------------------------------------
Cheers,
--
Rafael Avila de Espindola
Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4
Ireland
Registered in Dublin, Ireland
Registration Number: 368047
More information about the Gcc-patches
mailing list