https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87763

--- Comment #37 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jeffrey A. Law from comment #36)
> I wonder if we could pass in a scratch register from try_combine down to
> make_field_assignment to facilitate something like this...

I have found that make_field_assignment needs a lot of work in the past.  I had
a few patches to make_field_assignment to improve it in the GCC 4.3 days but
never updated them for newer compiler versions as the code generationg which I
was fixing up was already fixed; it was for some bad generated SRA issue.
Maybe for GCC 10, I will look into improving make_field_assignment.

Reply via email to