aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2017-08-08 08:55:43 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2017-08-08 08:55:43 +0000
commita5afbdd6559c8689424d5776e45cb77120730f43 (patch)
tree86d8dfb9122f35b5054d9aab949bcea0da4b6552 /gcc/tree-predcom.c
parent314e6352040016aff26cc2cf0b9eb60c40ca859e (diff)
downloadgcc-a5afbdd6559c8689424d5776e45cb77120730f43.zip
gcc-a5afbdd6559c8689424d5776e45cb77120730f43.tar.gz
gcc-a5afbdd6559c8689424d5776e45cb77120730f43.tar.bz2
re PR c++/81607 (Conditional operator: "type mismatch in shift expression" error)
PR c++/81607 * cp-gimplify.c (cp_fold): If folding exposed a branch of a COND_EXPR, convert it to the original type of the COND_EXPR, if they differ. * g++.dg/other/bitfield6.C: New test. From-SVN: r250948
Diffstat (limited to 'gcc/tree-predcom.c')
0 files changed, 0 insertions, 0 deletions