This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/37356] [4.4 Regression] ICE in gsi_insert_seq_nodes_after, at gimple-iterator.c:222



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]