public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31257]  New: ICE in gfc_conv_expr_descriptor
@ 2007-03-18 20:26 tkoenig at gcc dot gnu dot org
  2007-04-02 19:27 ` [Bug fortran/31257] " dfranke at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-03-18 20:26 UTC (permalink / raw)
  To: gcc-bugs

The code comes from http://www.star.le.ac.uk/~cgp/fortran.html
(by Clive Page):

$ cat fcn.f90
Character (len=20) Function Up (string)
Character(len=*) string
Up =                                                                  &
   transfer(merge(achar(iachar(transfer(string,"x",len(string)))-     &
   (ichar('a')-ichar('A')) ),                                         &
   transfer(string,"x",len(string)) ,                                 &
   transfer(string,"x",len(string)) >= "a" .and.                      &
   transfer(string,"x",len(string)) <= "z"), repeat("x", len(string)))
return
end function Up
$ gfortran fcn.f90
fcn.f90: In function 'up':
fcn.f90:1: internal compiler error: in gfc_conv_expr_descriptor, at
fortran/trans-array.c:4472
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in gfc_conv_expr_descriptor
           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: tkoenig at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31257


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

end of thread, other threads:[~2007-04-07 20:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-18 20:26 [Bug fortran/31257] New: ICE in gfc_conv_expr_descriptor tkoenig at gcc dot gnu dot org
2007-04-02 19:27 ` [Bug fortran/31257] " dfranke at gcc dot gnu dot org
2007-04-06 22:13 ` brooks at gcc dot gnu dot org
2007-04-07  7:50 ` pault at gcc dot gnu dot org
2007-04-07 14:45 ` patchapp at dberlin dot org
2007-04-07 20:29 ` pault at gcc dot gnu dot org
2007-04-07 20:34 ` pault 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).