[Bug c++/11670] [3.4 Regression] ICE in convert_like_real on illegal code

janis187 at us dot ibm dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 25 23:09:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11670


janis187 at us dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at codesourcery dot
                   |                            |com


------- Additional Comments From janis187 at us dot ibm dot com  2003-07-25 23:09 -------
The regression in PR 11670 was introduced or exposed by this patch:

--- gcc/gcc/cp/ChangeLog ---

2003-07-22  Nathan Sidwell  <nathan@codesourcery.com>

        * cp-tree.h (enum cp_lvalue_kind): Add clk_packed.
        * tree.c (lvalue_p_1): Set it.
        * class.c (check_field): Don't allow non-packed non-POD fields to
        be packed.
        * call.c (reference_binding): Need a temporary for all bitfield
        and packed fields.
        (convert_like_real): Check it is ok to make a temporary here.

The regression hunt took place on i686-pc-linux-gnu using the submitter's
test case with no special options.



More information about the Gcc-bugs mailing list