This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37356] [4.4 Regression] ICE in gsi_insert_seq_nodes_after, at gimple-iterator.c:222
- 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: 4 Sep 2008 01:17:54 -0000
- Subject: [Bug middle-end/37356] [4.4 Regression] ICE in gsi_insert_seq_nodes_after, at gimple-iterator.c:222
- References: <bug-37356-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-09-04 01:17 -------
Nope, this is an inlining issue. Reduced testcase:
bool f();
int neg_infinity();
bool is_inf(int v) {
return (v == neg_infinity());
};
struct counted_time_rep {
counted_time_rep()
{
is_inf(1) || f();
}
};
struct base_time {
static counted_time_rep get_time_rep() {
return counted_time_rep();
}
base_time(const int& day){}
base_time() :time_(get_time_rep() ) { }
counted_time_rep time_;
};
base_time a1;
void f1(void)
{
int d;
a1 = d;
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-09-04 01:17:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37356