This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/54017] Incorrect implementation of infinite loops in OpenMP sections leads to SIGILL
- 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: Thu, 19 Jul 2012 14:05:59 +0000
- Subject: [Bug middle-end/54017] Incorrect implementation of infinite loops in OpenMP sections leads to SIGILL
- Auto-submitted: auto-generated
- References: <bug-54017-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54017
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-07-19 14:05:59 UTC ---
Author: jakub
Date: Thu Jul 19 14:05:54 2012
New Revision: 189659
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189659
Log:
PR middle-end/54017
* tree-cfgcleanup.c (cleanup_omp_return): Remove.
(cleanup_tree_cfg_bb): Don't call it.
* omp-low.c (expand_omp_sections): Fix up the !exit_reachable case
handling.
* c-c++-common/gomp/pr54017.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/c-c++-common/gomp/pr54017.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/omp-low.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/tree-cfgcleanup.c