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

--- Comment #3 from Wilhelm M <klaus.doldinger64 at googlemail dot com> ---
(In reply to Roger Sayle from comment #2)
> The original problem looks to be fixed on mainline.  Can you confirm this
> Wilhelm?  If so we can close this PR.
> 
> With -Os -mmcu=atmega8, we currently generate (the desired):
> wmul:   lsl r22
>         lsl r22
>         lsl r22
>         muls r22,r24
>         movw r24,r0
>         clr __zero_reg__
>         ret

Yes, this seems to be fixed in mainline.

Reply via email to