public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/57562] New: Internal compiler error due to extended derived type with PARAMETER attribute
@ 2013-06-07 19:21 helvio.vairinhos at gmail dot com
  2013-06-07 19:21 ` [Bug fortran/57562] " helvio.vairinhos at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: helvio.vairinhos at gmail dot com @ 2013-06-07 19:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57562
           Summary: Internal compiler error due to extended derived type
                    with PARAMETER attribute
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: helvio.vairinhos at gmail dot com

Created attachment 30277
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30277&action=edit
ICE example

Hi,

In programs like the example below:



program example

   type :: Parent
      integer :: member1 = 0
   end type Parent

   type, extends(Parent) :: Child
      integer :: member2 = 0
   end type Child

   integer, parameter :: member1 = 23
   integer, parameter :: member2 = 42

   type(Child), parameter :: object = Child(member1, member2)

   print *, object%member1  !<-- No ICE if commented out
   print *, object%member2

end program example



I get the following message (on versions 4.6.4 and 4.7.3):



f951: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.



Best regards,

Helvio


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

end of thread, other threads:[~2015-01-02 16:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-07 19:21 [Bug fortran/57562] New: Internal compiler error due to extended derived type with PARAMETER attribute helvio.vairinhos at gmail dot com
2013-06-07 19:21 ` [Bug fortran/57562] " helvio.vairinhos at gmail dot com
2013-06-07 19:48 ` helvio.vairinhos at gmail dot com
2013-06-07 22:11 ` [Bug fortran/57562] [OOP] " burnus at gcc dot gnu.org
2013-08-20 12:28 ` janus at gcc dot gnu.org
2013-08-20 12:30 ` janus at gcc dot gnu.org
2014-12-31 17:11 ` [Bug fortran/57562] [OOP] ICE " janus at gcc dot gnu.org
2014-12-31 18:11 ` janus at gcc dot gnu.org
2015-01-02 11:08 ` janus at gcc dot gnu.org
2015-01-02 16:32 ` janus at gcc dot gnu.org
2015-01-02 16:39 ` 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).