re PR c++/35909 (ICE with bit-field and const references)
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 27 May 2008 05:48:02 +0000 (05:48 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 27 May 2008 05:48:02 +0000 (05:48 +0000)
commitbced83044966b9fdeef85a5207b94170bd83b2ba
tree3984c0b7cc29a396df3b6c7be3025ff0ca606abd
parent48c655bb7552beb31369f1fac45c2a8732c8734b
re PR c++/35909 (ICE with bit-field and const references)

gcc/cp/ChangeLog:
PR c++/35909
* call.c (convert_like_real): Convert bitfield to desired type
before creating temporary.
gcc/testsuite/ChangeLog:
PR c++/35909
* g++.dg/conversion/bitfield9.C: New.

From-SVN: r135969
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/bitfield9.C [new file with mode: 0644]