diff options
author | Andrew Pinski <pinskia@gcc.gnu.org> | 2009-09-17 16:03:55 -0700 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2009-09-17 16:03:55 -0700 |
commit | 66be89f022efde50e624af8f67c67b3e4875df5c (patch) | |
tree | f0fd7e2928c9eb9dc2b97430594e87df6200f816 /gcc/value-prof.c | |
parent | 695a8e6210f36efd711a23ab4b2bd4f1cbf8a857 (diff) | |
download | gcc-66be89f022efde50e624af8f67c67b3e4875df5c.zip gcc-66be89f022efde50e624af8f67c67b3e4875df5c.tar.gz gcc-66be89f022efde50e624af8f67c67b3e4875df5c.tar.bz2 |
re PR c++/39365 (++ operator with volatile bool increments)
2009-09-17 Andrew Pinski <pinskia@gcc.gnu.org>
PR c++/39365
* typeck.c (cp_build_unary_op): Check TREE_CODE for bools instead of
using same_type_p.
(convert_for_assignment): Likewise.
* cvt.c (type_promotes_to): Likewise.
2009-09-17 Andrew Pinski <pinskia@gcc.gnu.org>
PR c++/39365
* g++.dg/expr/bool3.C: New test.
* g++.dg/expr/bool4.C: New test.
From-SVN: r151823
Diffstat (limited to 'gcc/value-prof.c')
0 files changed, 0 insertions, 0 deletions