public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45933] New: [4.6 regression] ICE in gfc_add_component_ref, at fortran/class.c:77
@ 2010-10-07 13:11 mikael at gcc dot gnu.org
  2010-10-07 13:17 ` [Bug fortran/45933] " mikael at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mikael at gcc dot gnu.org @ 2010-10-07 13:11 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 regression] ICE in gfc_add_component_ref, at
                    fortran/class.c:77
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikael@gcc.gnu.org


Reported at http://gcc.gnu.org/ml/fortran/2010-10/msg00078.html
reduced testcase in a follow-up message:


MODULE DEF1
  TYPE :: DAT
    INTEGER :: NN
  CONTAINS
    PROCEDURE :: LESS_THAN
    GENERIC :: OPERATOR (.LT.) => LESS_THAN
  END TYPE
CONTAINS
  LOGICAL FUNCTION LESS_THAN(A, B)
    CLASS (DAT), INTENT (IN) :: A, B
    LESS_THAN = (A%NN .LT. B%NN)
  END FUNCTION
END MODULE

PROGRAM P
  USE DEF1
  TYPE NODE
    TYPE (DAT), POINTER :: PT
  END TYPE
  CLASS (NODE),POINTER :: A, B
  PRINT *, A%PT .LT. B%PT
END


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

end of thread, other threads:[~2010-10-07 17:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-07 13:11 [Bug fortran/45933] New: [4.6 regression] ICE in gfc_add_component_ref, at fortran/class.c:77 mikael at gcc dot gnu.org
2010-10-07 13:17 ` [Bug fortran/45933] " mikael at gcc dot gnu.org
2010-10-07 13:18 ` [Bug fortran/45933] [4.6 regression] [OOP] " janus at gcc dot gnu.org
2010-10-07 13:55 ` janus at gcc dot gnu.org
2010-10-07 17:35 ` janus at gcc dot gnu.org
2010-10-07 17:41 ` janus at gcc dot gnu.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).