[Bug c++/40230] it takes too much time to compile using -O2
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat May 23 16:19:00 GMT 2009
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-05-23 16:19 -------
This is the effect of inlining that no longer completely happens with <30>.
You can fix it with
struct TermBase {
term_t obj;
term_t get() __attribute__((flatten)) {
return obj;
}
};
note the flatten attribute.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-05-23 16:19:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40230
More information about the Gcc-bugs
mailing list