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: PR40900, extending call patterns


> Instead I wonder if ppc optimizes something like
>
> unsigned short short2();
>
> unsigned int int1()
> {
>   return short2() & 0xFFFF;
> }
>
> This would be caught by Bernd's patch too (presumably).

Let's try to generate sane RTL from the start if we can, this will make the 
compiler faster and save some memory.

-- 
Eric Botcazou


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