[Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 9 09:14:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48600

--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-09 09:11:19 UTC ---
Testcase from PR51460

class mx {
public:
    mx();
};

int main()
{
  while (true) {
      mx *bar = new mx;
      mx *baz = new mx;
      continue;
  }
  return 0;
}

Honza, please work on your bugs!



More information about the Gcc-bugs mailing list