[Bug fortran/36186] Wrong handling of BOZ in CMPLX

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 9 09:41:00 GMT 2008

------- 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|                            |


More information about the Gcc-bugs mailing list