This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17075] [3.5 Regression] galgel crashes if compiled with -foptimize-sibling-calls
- 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: 18 Aug 2004 15:44:41 -0000
- Subject: [Bug middle-end/17075] [3.5 Regression] galgel crashes if compiled with -foptimize-sibling-calls
- References: <20040818091442.17075.lei@il.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-18 15:44 -------
Confirmed (yes it had to do with the sqrt):
Here is a simple testcase:
#include <stdio.h>
double f(double x){return __builtin_sqrt(x);}
int main()
{
printf("%f\n", f(10));
}
We get printted NAN instead of the correct answer.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |3.5.0
Known to work| |3.4.0
Last reconfirmed|0000-00-00 00:00:00 |2004-08-18 15:44:39
date| |
Summary|galgel crashes if compiled |[3.5 Regression] galgel
|with -foptimize-sibling- |crashes if compiled with -
|calls |foptimize-sibling-calls
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17075