[Bug middle-end/22156] [4.0/4.1 Regression] bit-field copying regressed

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Aug 5 20:45:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list