https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61907

            Bug ID: 61907
           Summary: load of invalid value for 'bool' in trans-array.c
                    trans_array_constructor
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zeccav at gmail dot com

Compiling many testsuite files with a sanitized gfortran,
as in typebound_assignment_6.f03, elemental_subroutine_2.f90,
move_alloc_13.f90, where_operator_assign_2.f90, pr43808.f90, and more, I get
the following
"../../gcc-4.9.1/gcc/fortran/trans-array.c:2207:9: runtime error: 
load of value xxx, which is not a valid value for type 'bool'"
The offending instructions are
2206:"  typespec_chararray_ctor = (expr->ts.u.cl
2207:                             && expr->ts.u.cl->length_from_typespec);" 
in trans_array_constructor.

Reply via email to