re PR c++/27979 (conversion check confused by enum bitfields)
authorMark Mitchell <mark@codesourcery.com>
Fri, 16 Jun 2006 23:12:08 +0000 (23:12 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 16 Jun 2006 23:12:08 +0000 (23:12 +0000)
commit80eb9ddd1c93949c2c97ee334534d80f844f5477
tree0b14ef2cedb7b4e4c1452420175da078ed96bb77
parent43765c8a70c0e27f277b4f1fa1adde59ff9c0f7d
re PR c++/27979 (conversion check confused by enum bitfields)

PR c++/27979
* call.c (standard_conversion): Strip cv-qualifiers from bitfield
types.
PR c++/27979
* g++.dg/expr/bitfield2.C: New test.

From-SVN: r114733
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/expr/bitfield2.C [new file with mode: 0644]