This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/71494] [4.9/5/6/7 Regression] label as value in nested function
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Jun 2016 14:46:00 +0000
- Subject: [Bug middle-end/71494] [4.9/5/6/7 Regression] label as value in nested function
- Auto-submitted: auto-generated
- References: <bug-71494-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71494
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jun 14 14:45:23 2016
New Revision: 237449
URL: https://gcc.gnu.org/viewcvs?rev=237449&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-6-branch/gcc/testsuite/gcc.c-torture/execute/pr71494.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/gcc/tree-nested.c