re PR c++/31513 (Miscompilation of Function Passing Bit Field Value to Function)
authorMark Mitchell <mark@codesourcery.com>
Wed, 18 Apr 2007 03:36:18 +0000 (03:36 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 18 Apr 2007 03:36:18 +0000 (03:36 +0000)
commit431ed7a1312eaaaac39d3044ad01fd8314f25c24
treeed78505fe5721ce4ee4cf1c2f564a31602d12ce2
parent50f324bbbe50f8690fa4ad1eb7d0b206d8608f27
re PR c++/31513 (Miscompilation of Function Passing Bit Field Value to Function)

PR c++/31513
* call.c (convert_for_arg_passing): Convert bitfields to their
declared types.

PR c++/31513
* g++.dg/expr/bitfield8.C: New test.

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