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/11984] [3.4 regression] ICE iwth -ffast_math: expected integer_cst, have real_cst


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
          Component|c                           |middle-end
     Ever Confirmed|                            |1
           Priority|P2                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-19 21:43:07
               date|                            |
            Summary|ICE: expected integer_cst,  |[3.4 regression] ICE iwth -
                   |have real_cst               |ffast_math: expected
                   |                            |integer_cst, have real_cst


------- Additional Comments From bangerth at dealii dot org  2003-08-19 21:43 -------
Confirmed. Here's something smaller: 
------------------------------ 
extern double log (double); 
 
void f(double x) 
{ 
    double g; 
    g = log(1.0 - x - 0.00001); 
} 
------------------------------- 
 
Compile with -ffast-math: 
tmp/g> ../build-gcc/gcc-install/bin/gcc -c -ffast-math vf_hqdn3d-snapshot.i 
vf_hqdn3d-snapshot.i: In function `f': 
 
vf_hqdn3d-snapshot.i:6: internal compiler error: tree check: expected integer_cst, have 
real_cst in tree_int_cst_lt, at tree.c:3220 
Please submit a full bug report, 
 
W.


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