This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36186] Wrong handling of BOZ in CMPLX
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 May 2008 09:40:29 -0000
- Subject: [Bug fortran/36186] Wrong handling of BOZ in CMPLX
- References: <bug-36186-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from fxcoudert at gcc dot gnu dot org 2008-05-09 09:40 -------
And a related issue:
program test0
implicit none
integer :: x = 0
write(*,*) cmplx(b'101000000001010010101001111111101',x,4)
end program test0
This should error with "BOZ constant at (1) is too large (33 vs 32 bits)", as
we do for other cases, but it doesn't. This seems to imply we really should
take care of all this in the simplification routine (convert the BOZ).
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-05-09 09:40:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36186