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

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

https://gcc.gnu.org/g:58a45ce44a9acf3d15fada265d2a391a8e1bc960

commit r11-6165-g58a45ce44a9acf3d15fada265d2a391a8e1bc960
Author: Martin Uecker <muec...@gwdg.de>
Date:   Wed Dec 16 23:47:52 2020 +0100

    C: Drop qualifiers of assignment expressions. [PR98047]

    ISO C17 6.5.15.1 specifies that the result is the
    type the LHS would have after lvalue conversion.

    2020-12-16  Martin Uecker  <muec...@gwdg.de>

    gcc/c/
            PR c/98047
            * c-typeck.c (build_modify_expr): Drop qualifiers.

    gcc/testsuite/
            PR c/98047
            * gcc.dg/qual-assign-7.c: New test.
  • [Bug c/98047] assignment does n... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to