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 c++/28677] [4.0/4.1 regression] Function prototype in function body crashes compilation



------- 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


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