public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31306]  New: ICE with implicit character variables
@ 2007-03-22  0:01 fxcoudert at gcc dot gnu dot org
  2007-03-23 12:56 ` [Bug fortran/31306] " pault at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-03-22  0:01 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-10-27 18:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-22  0:01 [Bug fortran/31306] New: ICE with implicit character variables fxcoudert at gcc dot gnu dot org
2007-03-23 12:56 ` [Bug fortran/31306] " pault at gcc dot gnu dot org
2007-03-25 22:08 ` tobi at gcc dot gnu dot org
2007-05-02  3:57 ` jvdelisle at gcc dot gnu dot org
2007-06-25 11:33 ` dfranke at gcc dot gnu dot org
2007-06-25 11:43 ` dfranke at gcc dot gnu dot org
2007-10-20  5:45 ` patchapp at dberlin dot org
2007-10-20 23:10 ` jvdelisle at gcc dot gnu dot org
2007-10-27 18:00 ` jvdelisle at gcc dot gnu dot org
2007-10-27 18:26 ` jvdelisle at gcc dot gnu dot org
2007-10-27 18:29 ` jvdelisle at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).