[Bug debug/41801] [4.5 Regression] VTA: ICE in loc_cmp.

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 26 14:06:00 GMT 2009



------- Comment #1 from jakub at gcc dot gnu dot org  2009-10-26 14:06 -------
Simpler testcase at -g -O -milp32:
struct T
{
  void
  foo () volatile
  {
    __sync_lock_release (&t);
    __sync_synchronize ();
  }
  bool t;
};

int
main ()
{
  T t = { false };
  t.foo ();
}


-- 


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



More information about the Gcc-bugs mailing list