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/32703] ICE with [trim(character_variable)]



------- Comment #4 from pault at gcc dot gnu dot org  2007-08-30 22:18 -------
This no longer segfaults and it generates correct code for valid fortran. 
However,

program array_char
implicit none
character (len=2) :: x, y
x = "a "
y = "cd"
print*,[trim(x),trim(y)]
end program array_char

does not generate the runtime error that it should, so I am leaving this PR
open.  I have unassigned myself for now but might well return to this soon.

Paul 


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pault at gcc dot gnu dot org|unassigned at gcc dot gnu
                   |                            |dot org
             Status|ASSIGNED                    |NEW
           Keywords|ice-on-valid-code           |accepts-invalid


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32703


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