[Bug fortran/68225] ICE with -Wrealloc-lhs-all on structure constructor with allocatable components

2015-11-09 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68225 --- Comment #4 from Gerhard Steinmetz --- > > Am I correct to understand that this error is bogus for Fortran 2008 (at > least)? That feature is new in F2008 : A structure constructor can omit the value for an allocatable component. Further

[Bug fortran/68225] ICE with -Wrealloc-lhs-all on structure constructor with allocatable components

2015-11-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68225 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/68225] ICE with -Wrealloc-lhs-all on structure constructor with allocatable components

2015-11-05 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68225 --- Comment #2 from Gerhard Steinmetz --- Here, one or both components are initialized : $ cat z1.f90 program p type t integer, allocatable :: a end type type, extends(t) :: t2 integer, allocatable :: b end type type(

[Bug fortran/68225] ICE with -Wrealloc-lhs-all on structure constructor with allocatable components

2015-11-05 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68225 --- Comment #1 from Gerhard Steinmetz --- Adding one type extension : $ cat z0.f90 program p type t integer, allocatable :: a end type type, extends(t) :: t2 integer, allocatable :: b end type type(t2) :: x x = t2(