[Bug c++/31513] [4.2/4.3 Regression] Miscompilation of Function Passing Bit Field Value to Function
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 16 23:28:00 GMT 2007
------- Comment #5 from mmitchel at gcc dot gnu dot org 2007-04-17 00:28 -------
Subject: Bug 31513
Author: mmitchel
Date: Tue Apr 17 00:28:21 2007
New Revision: 123902
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123902
Log:
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.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/expr/bitfield8.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/call.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31513
More information about the Gcc-bugs
mailing list