This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]