[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug target/14384] Invalid use of extra precision floating-point with -O
From: |
anz at obs-nice dot fr |
Subject: |
[Bug target/14384] Invalid use of extra precision floating-point with -O0 optimization |
Date: |
10 Mar 2004 18:23:42 -0000 |
------- Additional Comments From anz at obs-nice dot fr 2004-03-10 18:23
-------
Created an attachment (id=5893)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5893&action=view)
An even simpler source file demonstrating the problem
This even simpler code shows that gcc doesn't round an expression to (float)
and
keeps the extra precision even when an explicit cast is present, where it
shouldn't be allowed to do so.
The same expression is computed twice, in (double) and in forced (float) with
an
explicit cast. They must differ, unless float and double are the same.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14384