OSDN Git Service

gcc/cp/ChangeLog:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jan 2008 01:50:45 +0000 (01:50 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jan 2008 01:50:45 +0000 (01:50 +0000)
commit4281aa504486f7c456b05a0826a12126c1462b27
tree7fee3dd0f2bdbe38c84d900eae7e611ffd75e0e4
parentf6c1128755318bcf0d94174e6185a7ccbddd83e5
gcc/cp/ChangeLog:
PR c++/33984
* call.c (reference_binding): For bitfields use the declared bitfield
type.
(add_builtin_candidates): Likewise.
* class.c (layout_class_type): For bitfields copy over the
original type quals.
gcc/testsuite/ChangeLog:
PR c++/33984
* g++.dg/conversion/bitfield7.C: New test.
* g++.dg/cpp0x/decltype4.C: Fixed xfail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131751 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/bitfield7.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/decltype4.C