This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] Fix PR27826, ICE in copy_to_mode_reg due to wrong types by get_narrower
- From: Ian Lance Taylor <iant at google dot com>
- To: "Richard Guenther" <richard dot guenther at gmail dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: 05 Jan 2007 07:36:59 -0800
- Subject: Re: [PATCH][RFC] Fix PR27826, ICE in copy_to_mode_reg due to wrong types by get_narrower
- References: <84fc9c000701050629n59baebb7w863cf0c2d903bb6c@mail.gmail.com>
"Richard Guenther" <richard.guenther@gmail.com> writes:
> Now the easiest thing is to avoid this mess in get_narrower and simply
> use fold_convert() there to narrow the field.
If we're just going to call fold_convert anyhow, do we actually get
any advantage from handling COMPONENT_REF at all in get_narrower?
Does the generated code change if you just strip out the COMPONENT_REF
handling?
Ian