re PR c/86617 (Volatile qualifier is ignored sometimes for unsigned char)
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 23 Jul 2018 13:23:51 +0000 (13:23 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Mon, 23 Jul 2018 13:23:51 +0000 (13:23 +0000)
commit1544db9a61b6a441be68c5a6ba2504a6ccc2b956
tree9e2db6ef58a14073413f15b8f6c894ed5815d787
parenta353fec45af2c09f8e3c849ac8f00e7342600019
re PR c/86617 (Volatile qualifier is ignored sometimes for unsigned char)

gcc:
2018-07-23  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR c/86617
        * genmatch.c (dt_operand::gen_match_op): Avoid folding volatile values.

testsuite:
2018-07-23  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR c/86617
        * gcc.dg/pr86617.c: New test.

From-SVN: r262933
gcc/ChangeLog
gcc/genmatch.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr86617.c [new file with mode: 0644]