[Bug fortran/65381] [6/7/8 Regression] ICE during array result, assignment
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sun Nov 19 10:44:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65381
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Status|RESOLVED |REOPENED
Last reconfirmed| |2017-11-19
Known to work| |5.5.0
Resolution|DUPLICATE |---
Summary|ICE during array result, |[6/7/8 Regression] ICE
|assignment |during array result,
| |assignment
Ever confirmed|0 |1
Known to fail| |6.4.0, 7.2.0, 8.0
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Duplicate of pr54070.
Compiling the original test with gfortran 6 up to trunk gives the ICE
pr65381.f90:38:0:
strings(:) = fixedStringTable(this)
internal compiler error: Segmentation fault: 11
My instrumented gfortran gives in addition
../../work/gcc/tree.h:3125:7: runtime error: member access within null pointer
of type 'union tree_node'
The code compiles if I replace
class(StringTable), intent(IN) :: this(:)
with
type(StringTable), intent(IN) :: this(:)
More information about the Gcc-bugs
mailing list