[Bug sanitizer/90954] ICE: combining undefined behavior sanitizer with openmp

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 25 07:01:00 GMT 2019


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jun 25 07:00:34 2019
New Revision: 272635

URL: https://gcc.gnu.org/viewcvs?rev=272635&root=gcc&view=rev
Log:
        PR sanitizer/90954
        * c-omp.c (c_finish_omp_atomic): Allow tree_invariant_p in addition
        to SAVE_EXPR in first operand of a COMPOUND_EXPR.

        * c-c++-common/gomp/pr90954.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/gomp/pr90954.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-omp.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list