This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/37581] IEEE inexact-flag not working on the Alpha
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2009 10:17:15 -0000
- Subject: [Bug target/37581] IEEE inexact-flag not working on the Alpha
- References: <bug-37581-1710@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from ubizjak at gmail dot com 2009-01-24 10:17 -------
(In reply to comment #4)
> I don't know why the bug was closed: I can confirm the erroneous behavior is
> present also in GCC 4.3.2.
Because it looks to me that this is libc problem with fetestexcept. As far as
the compiler is concerned, GCC correctly decorates trapping instructions with
/sui and puts trap barrier to expected place:
...
jsr $26,($27),__nldbl_printf !lituse_jsr!5
ldah $29,0($26) !gpdisp!6
divs/sui $f3,$f2,$f0
trapb
...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37581