public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/51394] New: Rejects legal code involving an allocatable string
@ 2011-12-03 13:09 i.thompson at lboro dot ac.uk
  2011-12-03 17:07 ` [Bug fortran/51394] " burnus at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: i.thompson at lboro dot ac.uk @ 2011-12-03 13:09 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51394
           Summary: Rejects legal code involving an allocatable string
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: i.thompson@lboro.ac.uk


Created attachment 25980
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25980
Terminal i/o

!This code generates an internal compiler error.

module tokens

implicit none

type :: token
  character (:) , allocatable :: string
end type

contains

  subroutine write_token( tok )

    implicit none

    type (token) , intent (in) :: tok

  end subroutine

end module


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

* [Bug fortran/51394] Rejects legal code involving an allocatable string
  2011-12-03 13:09 [Bug fortran/51394] New: Rejects legal code involving an allocatable string i.thompson at lboro dot ac.uk
@ 2011-12-03 17:07 ` burnus at gcc dot gnu.org
  2012-05-14 16:45 ` burnus at gcc dot gnu.org
  2013-09-02 11:26 ` dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-12-03 17:07 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |burnus at gcc dot gnu.org
         Depends on|                            |45170

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-12-03 17:06:53 UTC ---
I think this bug is effectively a duplicate of PR 51075.

Deferred-length characters are unfortunately not yet supported as components in
derived types.


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

* [Bug fortran/51394] Rejects legal code involving an allocatable string
  2011-12-03 13:09 [Bug fortran/51394] New: Rejects legal code involving an allocatable string i.thompson at lboro dot ac.uk
  2011-12-03 17:07 ` [Bug fortran/51394] " burnus at gcc dot gnu.org
@ 2012-05-14 16:45 ` burnus at gcc dot gnu.org
  2013-09-02 11:26 ` dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-05-14 16:45 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

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

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-05-14 16:43:52 UTC ---
(In reply to comment #0)
> !This code generates an internal compiler error.

That has been meanwhile fixed by printing a not-yet-implemented error when
allocatable string in components of derived types are used.

The implementation is tracked in PR 51976

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


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

* [Bug fortran/51394] Rejects legal code involving an allocatable string
  2011-12-03 13:09 [Bug fortran/51394] New: Rejects legal code involving an allocatable string i.thompson at lboro dot ac.uk
  2011-12-03 17:07 ` [Bug fortran/51394] " burnus at gcc dot gnu.org
  2012-05-14 16:45 ` burnus at gcc dot gnu.org
@ 2013-09-02 11:26 ` dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-09-02 11:26 UTC (permalink / raw)
  To: gcc-bugs

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

Bug 51394 depends on bug 45170, which changed state.

Bug 45170 Summary: [F2003] allocatable character lengths
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED


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

end of thread, other threads:[~2013-09-02 11:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-03 13:09 [Bug fortran/51394] New: Rejects legal code involving an allocatable string i.thompson at lboro dot ac.uk
2011-12-03 17:07 ` [Bug fortran/51394] " burnus at gcc dot gnu.org
2012-05-14 16:45 ` burnus at gcc dot gnu.org
2013-09-02 11:26 ` dominiq at lps dot ens.fr

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).