This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/53876] [4.8 Regression] [OOP] ICE with class array
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Jul 2012 12:24:41 +0000
- Subject: [Bug fortran/53876] [4.8 Regression] [OOP] ICE with class array
- Auto-submitted: auto-generated
- References: <bug-53876-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53876
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-07-09
CC| |janus at gcc dot gnu.org
Summary|ICE: OOP Class array |[4.8 Regression] [OOP] ICE
| |with class array
Ever Confirmed|0 |1
--- Comment #1 from janus at gcc dot gnu.org 2012-07-09 12:24:41 UTC ---
(In reply to comment #0)
> oop_class_array.f90: In function âdisplay_populationâ:
> oop_class_array.f90:111:0: internal compiler error: in gfc_add_modify_loc, at
> fortran/trans.c:161
> CALL self%indv(i)%display()
> ^
I can confirm this ICE with trunk. However, gfortran 4.7.1 compiles the test
case cleanly, so apparently it is a regression. With 4.7 one gets a segfault at
runtime (invalid memory reference on line 106).
Thanks for the bug report!