http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58861

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |burnus at gcc dot gnu.org
            Summary|No reallocation assignment  |Realloc on assignment:
                   |performed (due to different |Bogus "Array bound
                   |kinds?)                     |mismatch" error with
                   |                            |-fcheck=bounds

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
I can confirm the error message. However, the array seems to be properly
allocated. Only -fcheck=bounds seems to mishandle this case. (There might be
other PRs about this issue.)

Thus, as work around: Don't compile that file with -fcheck=bounds.

Reply via email to