This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Another size crash
- To: mark at codesourcery dot com
- Subject: Re: C++ PATCH: Another size crash
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Wed, 1 Mar 00 17:46:19 EST
- Cc: gcc-patches at gcc dot gnu dot org
- else if (code == FIELD_DECL)
Why not just add "&& DECL_BIT_FIELD (decl)" to that line
and nothing else? Doesn't that fix it too?
BTW, the bug with your crash13.C is just that set_sizetype forgets to
clear TYPE_MAIN_VARIANT.