This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32703] ICE with [trim(character_variable)]
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2007 22:18:35 -0000
- Subject: [Bug fortran/32703] ICE with [trim(character_variable)]
- References: <bug-32703-9647@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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