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 middle-end/29253] expand_abs wrong default code for floating point



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-02-04 14:57 -------
Executable testcase:

extern double fabs(double);
extern void abort(void);
void __attribute__((noinline)) foo(double x)
{
  if (fabs (x) != 0.0)
    abort ();
}
int main ()
{
  foo(-0.0);
  return 0;
}


-- 


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


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