[Bug middle-end/71494] [4.9 Regression] label as value in nested function

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 7 21:52:00 GMT 2016


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 21:51:57 2016
New Revision: 238143

URL: https://gcc.gnu.org/viewcvs?rev=238143&root=gcc&view=rev
Log:
        Backported from mainline
        2016-06-10  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/71494
        * tree-nested.c (convert_nonlocal_reference_stmt): For GIMPLE_GOTO
        without LABEL_DECL, set *handled_ops_p to false instead of true.

        * gcc.c-torture/execute/pr71494.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr71494.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/tree-nested.c


More information about the Gcc-bugs mailing list