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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org
            Summary|[11/12/13 Regression] ICE   |[11/12/13 Regression] ICE
                   |in gimple_range_global, at  |in gimple_range_global, at
                   |value-query.cc:424          |value-query.cc:424 – with
                   |                            |deferred-length character
                   |                            |variable

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
The code as written is invalid as 'x' is originally unallocated on entry to the
target region but then gets allocated on assignment in the target region.

However, adding before '!$omp target' the line
   allocate(character(len=3) :: x)
does not help.

Reply via email to