[PR c++/35056] convert bitfield to target expr type for const& binding
Alexandre Oliva
aoliva@redhat.com
Tue Feb 5 06:14:00 GMT 2008
We failed to convert bit-fields to their "identity conversion" types
for function calls, when building a temporary for a call that binds a
const reference to (a copy of) a bit-field.
This patch integrates the most conservative change I could come up
with, which I believe should be enough, with an assert that should
help us find any other situations in which it would have been
necessary.
This has passed the C++ testsuite; I'm now doing a full rebuild of all
libraries and regression-testing all testsuites. Ok to install if
this passes?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc43-pr35056.patch
Type: text/x-patch
Size: 3865 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080205/cd1533d6/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
More information about the Gcc-patches
mailing list