This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36214] Wrong simplification of BOZ constants
- From: "domob at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2008 16:08:22 -0000
- Subject: [Bug fortran/36214] Wrong simplification of BOZ constants
- References: <bug-36214-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from domob at gcc dot gnu dot org 2008-09-10 16:08 -------
> -fdump-parse-tree gives
> ASSIGN MAIN__:rd 5.31837115e-315_8
> ASSIGN MAIN__:z (complex 5.3183711317956924e-315_8 0_8)
> ASSIGN MAIN__:r 0
> IF (/= MAIN__:z __convert_r8_c8[[((MAIN__:rd))]])
> CALL _gfortran_abort ()
> ENDIF
>
> I suspect that the conversion of the boz to the rd value is
> done with a kind=4 conversion rather than kind=8, but I haven't
> been able to substantial my suspicions.
That looks truely suspicious... I'm currently waiting for the current trunk
build to finish and will then investigate. This part of the code will
hopefully be another interesting learning experience :D
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36214