public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/16535] New: ICE in internal write
@ 2004-07-14 11:35 schnetter at aei dot mpg dot de
  2004-07-14 13:49 ` [Bug fortran/16535] ICE writing a character array reichelt at gcc dot gnu dot org
  2004-07-14 15:09 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: schnetter at aei dot mpg dot de @ 2004-07-14 11:35 UTC (permalink / raw)
  To: gcc-bugs

The following subroutine leads to an ICE: 
 
subroutine MPWT_transform_metric 
  integer   :: info 
  character :: msg(1000) 
  write (msg, '("Error in call to DGESV, info=",i4)') info 
end subroutine MPWT_transform_metric 
 
with 
 
GNU Fortran 95 (GCC 3.5.0 20040713 (experimental)) 
 
The code is strange in that msg is an array of one-character strings instead 
of a single string.

-- 
           Summary: ICE in internal write
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schnetter at aei dot mpg dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug fortran/16535] ICE writing a character array
  2004-07-14 11:35 [Bug fortran/16535] New: ICE in internal write schnetter at aei dot mpg dot de
@ 2004-07-14 13:49 ` reichelt at gcc dot gnu dot org
  2004-07-14 15:09 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-07-14 13:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-14 13:49 -------
Confirmed.
Even shorter example:

===========================
subroutine FOO
  character :: msg(10)
  write (msg, *)
end subroutine FOO
===========================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-14 13:49:08
               date|                            |
            Summary|ICE in internal write       |ICE writing a character
                   |                            |array


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


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

* [Bug fortran/16535] ICE writing a character array
  2004-07-14 11:35 [Bug fortran/16535] New: ICE in internal write schnetter at aei dot mpg dot de
  2004-07-14 13:49 ` [Bug fortran/16535] ICE writing a character array reichelt at gcc dot gnu dot org
@ 2004-07-14 15:09 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-14 15:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-14 15:09 -------


*** This bug has been marked as a duplicate of 15966 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-07-14 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-14 11:35 [Bug fortran/16535] New: ICE in internal write schnetter at aei dot mpg dot de
2004-07-14 13:49 ` [Bug fortran/16535] ICE writing a character array reichelt at gcc dot gnu dot org
2004-07-14 15:09 ` pinskia 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).