[Bug c++/26534] [4.1] bitfield wrong optimize
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 1 02:18:00 GMT 2006
------- Comment #9 from mmitchel at gcc dot gnu dot org 2006-05-01 02:18 -------
Subject: Bug 26534
Author: mmitchel
Date: Mon May 1 02:18:14 2006
New Revision: 113407
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113407
Log:
PR c++/26534
* cp-tree.h (adjust_bitfield_initializer): Declare.
* typeck.c (build_modify_expr): Use it.
* typeck2.c (adjust_bitfield_initializer): Define.
(process_init_constructor_record): Use it.
PR c++/26534
* g++.dg/opt/bitfield1.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/opt/bitfield1.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/cp-tree.h
branches/gcc-4_1-branch/gcc/cp/typeck.c
branches/gcc-4_1-branch/gcc/cp/typeck2.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26534
More information about the Gcc-bugs
mailing list