This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19578] [4.0 Regression] function pointer propagation fails for noreturn functions (part 2)
- 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: 22 Jan 2005 18:00:14 -0000
- Subject: [Bug tree-optimization/19578] [4.0 Regression] function pointer propagation fails for noreturn functions (part 2)
- References: <20050122175644.19578.rsandifo@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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