This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28677] [4.0/4.1 regression] Function prototype in function body crashes compilation
- From: "tbm at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Aug 2006 20:18:37 -0000
- Subject: [Bug c++/28677] [4.0/4.1 regression] Function prototype in function body crashes compilation
- References: <bug-28677-13077@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from tbm at gcc dot gnu dot org 2006-08-10 20:18 -------
Further reduced:
double fabs (double __x) { }
extern void exit (int __status);
void
nrerror (void)
{
exit(0);
}
float
betacf (float x)
{
void nrerror (void);
float d, h;
d = 1.0 - x;
if (fabs (d) < 1.0e-30)
h = d;
return h;
}
void
betai (void)
{
void nrerror (void);
nrerror ();
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28677