This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SEGV in do_simple_structure_copy
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: dberlin at dberlin dot org
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 7 Oct 05 07:35:17 EDT
- Subject: Re: SEGV in do_simple_structure_copy
This is the correct fix, however, if you are going to lie to the
middle end about TYPE_SIZE so that the TYPE_SIZE and DECL_SIZE do not
match.
If we always require that DECL_SIZE be identical to TYPE_SIZE, why
have a DECL_SIZE in the first place? But how else would you support
bitfields of (e.g.) type "integer".