This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36162] New: Non-ASCII character in module string gives ICE
- 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: 6 May 2008 21:26:13 -0000
- Subject: [Bug fortran/36162] New: Non-ASCII character in module string gives ICE
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
We need to escape non-printable characters when we read/write module files.
Otherwise, big bad ICE:
module m
character(*), parameter :: a ='H\0z'
end module m
use m
print *, a ! ICE
print *, ichar(a(1:1)), ichar(a(2:2)), ichar(a(3:3)) ! ICE
end
--
Summary: Non-ASCII character in module string gives ICE
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: fxcoudert at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36162