This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31306] New: ICE with implicit character variables
- 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: 22 Mar 2007 00:01:27 -0000
- Subject: [Bug fortran/31306] New: ICE with implicit character variables
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
No time to reduce this one, filing it so it doesn't get lost:
module cyclic
implicit none
contains
function ouch(x,y)
implicit character(len(ouch)) (x)
implicit character(len(x)+1) (y)
implicit character(len(y)-1) (o)
intent(in) x,y
character(len(y)-1) ouch
integer i
do i = 1, len(ouch)
ouch(i:i) = achar(ieor(iachar(x(i:i)),iachar(y(i:i))))
end do
end function ouch
end module cyclic
program test
use cyclic
implicit none
write(*,*) ouch('YOW!',' ')
end program test
--
Summary: ICE with implicit character variables
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31306