This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/22156] [4.0/4.1 Regression] bit-field copying regressed
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2005 20:45:19 -0000
- Subject: [Bug middle-end/22156] [4.0/4.1 Regression] bit-field copying regressed
- References: <20050623050243.22156.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-05 20:45 -------
If we add more bit-fields, that is now fixed in 4.0.2 and 4.1.0 by:
2005-08-04 Richard Henderson <rth@redhat.com>
PR 21529
* params.def (PARAM_SRA_MAX_STRUCTURE_COUNT): New.
* params.h (SRA_MAX_STRUCTURE_COUNT): New.
* tree-sra.c (decide_block_copy): Use it. Disable element copy
if we'd have to instantiate too many members.
But the orginal code is not fixed as we don't have too many members.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22156