[Bug target/97981] [11 regression] 32-bit x86 'gcc.dg/atomic/c11-atomic-exec-1.c' execution test since r11-5188-g32934a4f45a72144

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 7 22:57:57 GMT 2020


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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Uecker <uecker@gcc.gnu.org>:

https://gcc.gnu.org/g:a19a242c708060e067b4fd5a76995144e6f239d0

commit r11-5832-ga19a242c708060e067b4fd5a76995144e6f239d0
Author: Martin Uecker <muecker@gwdg.de>
Date:   Mon Dec 7 23:51:25 2020 +0100

    C: Fix atomic loads. [PR97981]

    To handle atomic loads correctly, we need to move the code that
    drops qualifiers in lvalue conversion after the code that
    handles atomics.

    2020-12-07  Martin Uecker  <muecker@gwdg.de>

    gcc/c/
            PR c/97981
            * c-typeck.c (convert_lvalue_to_rvalue): Move the code
            that drops qualifiers to the end of the function.

    gcc/testsuite/
            PR c/97981
            * gcc.dg/pr97981.c: New test.
            * gcc.dg/pr60195.c: Adapt test.


More information about the Gcc-bugs mailing list