This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11670] [3.4 Regression] ICE in convert_like_real on illegal code
- From: "janis187 at us dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2003 23:09:51 -0000
- Subject: [Bug c++/11670] [3.4 Regression] ICE in convert_like_real on illegal code
- References: <20030725113422.11670.redi@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.