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 tree-optimization/19578] [4.0 Regression] function pointer propagation fails for noreturn functions (part 2)


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-22 18:00 -------
Just for the record (and for lazy people aka me), here is the testcase:
extern void foo (void) __attribute__((noreturn));
void g (void)
{
  void (*f) (void) = foo;
  f ();
  f ();
}

-- 


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


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