https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71910
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Sep 1 11:29:55 2016 New Revision: 239922 URL: https://gcc.gnu.org/viewcvs?rev=239922&root=gcc&view=rev Log: Backported from mainline 2016-08-16 Jakub Jelinek <ja...@redhat.com> PR target/71910 * tree-cfg.c (execute_fixup_cfg): Add node variable, use it. Before inlining, add cgraph edge for the added __builtin_unreachable call. * g++.dg/gomp/pr71910.C: New test. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/gomp/pr71910.C Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-cfg.c