OSDN Git Service

2006-10-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Oct 2006 23:01:59 +0000 (23:01 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Oct 2006 23:01:59 +0000 (23:01 +0000)
commit1a358480f30b961e7c0e4c164ad47f67dc5f1db6
treee4029dbb2c86c3cba024f2ea381d85958738fc53
parent5b2232455605aaaf8863b8e0b619603edaf94f39
2006-10-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/29295
        * typeck.c (build_unary_op): Use same_type_p when comparing to
        boolean type.

2006-10-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/29295
        * g++.dg/expr/bool1.C: New test.
        * g++.dg/expr/bool2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118118 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/expr/bool1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/expr/bool2.C [new file with mode: 0644]