public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/24339]  New: f951 hangs if multiple variable length character variables declared on one line
@ 2005-10-12 20:12 jakub at gcc dot gnu dot org
  2005-10-12 21:18 ` [Bug fortran/24339] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-10-12 20:12 UTC (permalink / raw)
  To: gcc-bugs

character (len = 8) :: h
  character (len = 9) :: i
  h = '01234567'
  i = 'ABCDEFGHI'
  call test (h, i, 9)
contains
  subroutine test (p, q, n)
    character (len = *) :: p
    character (len = n) :: q, r, t, u
    logical :: l
    l = .false.
    r = ''
    if (n .gt. 8) r = 'jklmnopqr'
    u = 'abc'
    l = l .or. p .ne. '01234567' .or. q .ne. 'ABCDEFGHI'
    l = l .or. r .ne. 'jklmnopqr' .or. u .ne. 'abc'
    p = 'A'
    q = 'B'
    r = 'C'
    t = '123'
    u = '987654321'
    l = l .or. u .ne. '987654321'
    l = l .or. p .ne. 'A' .or. q .ne. 'B' .or. r .ne. 'C'
    l = l .or. t .ne. '123'
    if (l) call abort
  end subroutine test
end

causes f951 hang.


-- 
           Summary: f951 hangs if multiple variable length character
                    variables declared on one line
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         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=24339


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

* [Bug fortran/24339] f951 hangs if multiple variable length character variables declared on one line
  2005-10-12 20:12 [Bug fortran/24339] New: f951 hangs if multiple variable length character variables declared on one line jakub at gcc dot gnu dot org
@ 2005-10-12 21:18 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-12 21:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-10-12 21:18 -------
Guess what this just got fixed on the mainline.  This is a dup of bug 18082.

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


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2005-10-12 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-12 20:12 [Bug fortran/24339] New: f951 hangs if multiple variable length character variables declared on one line jakub at gcc dot gnu dot org
2005-10-12 21:18 ` [Bug fortran/24339] " 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).