public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/43412]  New: [OOP] BT_CLASS does not does not set array spec
@ 2010-03-17 22:20 burnus at gcc dot gnu dot org
  2010-04-28  8:58 ` [Bug fortran/43412] " burnus at gcc dot gnu dot org
  0 siblings, 1 reply; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-03-17 22:20 UTC (permalink / raw)
  To: gcc-bugs

symbol.c's gfc_build_class_symbol has:

  (*as) = NULL;  /* XXX */


Thus the following invalid program is accepted as the check for
"Assumed size array at %L must be a dummy argument" fails as sym->as == NULL.


module m
  type t
  end type t
end module m
subroutine foo()
use m
  class(t), pointer :: y(*) ! <<< invalid
end


-- 
           Summary: [OOP] BT_CLASS does not does not set array spec
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: rejects-valid, accepts-invalid
          Severity: major
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
OtherBugsDependingO 18918
             nThis:


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


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

end of thread, other threads:[~2013-06-11 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-43412-4@http.gcc.gnu.org/bugzilla/>
2012-01-29  0:47 ` [Bug fortran/43412] [OOP] BT_CLASS does not does not set array spec dominiq at lps dot ens.fr
2013-06-11 15:25 ` mikael at gcc dot gnu.org
2010-03-17 22:20 [Bug fortran/43412] New: " burnus at gcc dot gnu dot org
2010-04-28  8:58 ` [Bug fortran/43412] " burnus 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).