This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24705] New: ICE on asterisk char-len-param-value on result
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Nov 2005 13:09:51 -0000
- Subject: [Bug fortran/24705] New: ICE on asterisk char-len-param-value on result
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
character (6) :: c
c = f1 ()
if (c .ne. 'abcdef') call abort
contains
function f1 ()
character (*) :: f1
f1 = 'abcdef'
end function f1
end
causes ICE, while it should be diagnosed as error.
--
Summary: ICE on asterisk char-len-param-value on result
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24705