This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/54017] Incorrect implementation of infinite loops in OpenMP sections leads to SIGILL


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]