This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][RFC] Fix PR27826, ICE in copy_to_mode_reg due to wrong types by get_narrower


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]