* [Bug fortran/60529] [4.9 Regression] [OOP] ICE with allocatable sub-component
2014-03-14 17:55 [Bug fortran/60529] New: internal compiler error with allocatable sub-component carlos.a.cruz at nasa dot gov
@ 2014-03-15 10:35 ` janus at gcc dot gnu.org
2014-03-15 10:56 ` dominiq at lps dot ens.fr
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: janus at gcc dot gnu.org @ 2014-03-15 10:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60529
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-03-15
CC| |janus at gcc dot gnu.org
Summary|internal compiler error |[4.9 Regression] [OOP] ICE
|with allocatable |with allocatable
|sub-component |sub-component
Ever confirmed|0 |1
--- Comment #1 from janus at gcc dot gnu.org ---
Confirmed. Slightly reduced test case:
implicit none
type :: TS
integer, allocatable :: i
end type
type :: T
type (TS) :: s(1)
end type
class(T), allocatable :: X
end
Does not show an error with 4.6, 4.7 and 4.8.
Backtrace with 4.9:
0x61ea98 gfc_conv_descriptor_data_get(tree_node*)
/home/jweil/gcc49/trunk/gcc/fortran/trans-array.c:145
0x6245a0 gfc_array_deallocate(tree_node*, tree_node*, tree_node*, tree_node*,
tree_node*, gfc_expr*)
/home/jweil/gcc49/trunk/gcc/fortran/trans-array.c:5340
0x66bf8d gfc_trans_deallocate(gfc_code*)
/home/jweil/gcc49/trunk/gcc/fortran/trans-stmt.c:5476
0x61b5a7 trans_code
/home/jweil/gcc49/trunk/gcc/fortran/trans.c:1782
0x669bd1 gfc_trans_simple_do
/home/jweil/gcc49/trunk/gcc/fortran/trans-stmt.c:1438
0x669bd1 gfc_trans_do(gfc_code*, tree_node*)
/home/jweil/gcc49/trunk/gcc/fortran/trans-stmt.c:1601
0x61b66a trans_code
/home/jweil/gcc49/trunk/gcc/fortran/trans.c:1732
0x63b132 gfc_generate_function_code(gfc_namespace*)
/home/jweil/gcc49/trunk/gcc/fortran/trans-decl.c:5610
0x63afe7 gfc_generate_contained_functions
/home/jweil/gcc49/trunk/gcc/fortran/trans-decl.c:4728
0x63afe7 gfc_generate_function_code(gfc_namespace*)
/home/jweil/gcc49/trunk/gcc/fortran/trans-decl.c:5546
Probably caused by the finalization implementation?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/60529] [4.9 Regression] [OOP] ICE with allocatable sub-component
2014-03-14 17:55 [Bug fortran/60529] New: internal compiler error with allocatable sub-component carlos.a.cruz at nasa dot gov
2014-03-15 10:35 ` [Bug fortran/60529] [4.9 Regression] [OOP] ICE " janus at gcc dot gnu.org
@ 2014-03-15 10:56 ` dominiq at lps dot ens.fr
2014-03-31 8:55 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-03-15 10:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60529
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
r206362 (2014-01-06) is OK, r206567 (2014-01-12) gives the ICE.
> Probably caused by the finalization implementation?
Author: janus
Date: Mon Jan 6 23:21:39 2014
New Revision: 206379
URL: http://gcc.gnu.org/viewcvs?rev=206379&root=gcc&view=rev
Log:
2014-01-06 Janus Weil <janus@gcc.gnu.org>
PR fortran/59589
* class.c (comp_is_finalizable): New function to dermine if a given
component is finalizable.
(finalize_component, generate_finalization_wrapper): Use it.
2014-01-06 Janus Weil <janus@gcc.gnu.org>
PR fortran/59589
* gfortran.dg/class_allocate_16.f90: New.
Added:
trunk/gcc/testsuite/gfortran.dg/class_allocate_16.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/class.c
trunk/gcc/testsuite/ChangeLog
is in the range.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/60529] [4.9 Regression] [OOP] ICE with allocatable sub-component
2014-03-14 17:55 [Bug fortran/60529] New: internal compiler error with allocatable sub-component carlos.a.cruz at nasa dot gov
2014-03-15 10:35 ` [Bug fortran/60529] [4.9 Regression] [OOP] ICE " janus at gcc dot gnu.org
2014-03-15 10:56 ` dominiq at lps dot ens.fr
@ 2014-03-31 8:55 ` rguenth at gcc dot gnu.org
2014-03-31 9:44 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-03-31 8:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60529
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.9.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/60529] [4.9 Regression] [OOP] ICE with allocatable sub-component
2014-03-14 17:55 [Bug fortran/60529] New: internal compiler error with allocatable sub-component carlos.a.cruz at nasa dot gov
` (2 preceding siblings ...)
2014-03-31 8:55 ` rguenth at gcc dot gnu.org
@ 2014-03-31 9:44 ` rguenth at gcc dot gnu.org
2014-04-22 11:35 ` [Bug fortran/60529] [4.9/4.10 " jakub at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-03-31 9:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60529
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/60529] [4.9/4.10 Regression] [OOP] ICE with allocatable sub-component
2014-03-14 17:55 [Bug fortran/60529] New: internal compiler error with allocatable sub-component carlos.a.cruz at nasa dot gov
` (3 preceding siblings ...)
2014-03-31 9:44 ` rguenth at gcc dot gnu.org
@ 2014-04-22 11:35 ` jakub at gcc dot gnu.org
2014-07-16 13:27 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-04-22 11:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60529
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.9.0 |4.9.1
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.0 has been released
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/60529] [4.9/4.10 Regression] [OOP] ICE with allocatable sub-component
2014-03-14 17:55 [Bug fortran/60529] New: internal compiler error with allocatable sub-component carlos.a.cruz at nasa dot gov
` (4 preceding siblings ...)
2014-04-22 11:35 ` [Bug fortran/60529] [4.9/4.10 " jakub at gcc dot gnu.org
@ 2014-07-16 13:27 ` jakub at gcc dot gnu.org
2014-07-17 17:20 ` dominiq at lps dot ens.fr
2015-02-08 15:42 ` pault at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-07-16 13:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60529
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.9.1 |4.9.2
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.1 has been released.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/60529] [4.9/4.10 Regression] [OOP] ICE with allocatable sub-component
2014-03-14 17:55 [Bug fortran/60529] New: internal compiler error with allocatable sub-component carlos.a.cruz at nasa dot gov
` (5 preceding siblings ...)
2014-07-16 13:27 ` jakub at gcc dot gnu.org
@ 2014-07-17 17:20 ` dominiq at lps dot ens.fr
2015-02-08 15:42 ` pault at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-07-17 17:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60529
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Per pr61819, duplicate of pr 59765.
*** This bug has been marked as a duplicate of bug 59765 ***
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/60529] [4.9/4.10 Regression] [OOP] ICE with allocatable sub-component
2014-03-14 17:55 [Bug fortran/60529] New: internal compiler error with allocatable sub-component carlos.a.cruz at nasa dot gov
` (6 preceding siblings ...)
2014-07-17 17:20 ` dominiq at lps dot ens.fr
@ 2015-02-08 15:42 ` pault at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pault at gcc dot gnu.org @ 2015-02-08 15:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60529
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu.org
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
This is the same as PR64932 and PR59765. I have posted a patch for the former.
Thanks for pointing this out Dominique!
Paul
^ permalink raw reply [flat|nested] 9+ messages in thread