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/17075] [3.5 Regression] galgel crashes if compiled with -foptimize-sibling-calls


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


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