Re: Interactions between function inlining and inline assembly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 14, 2020 at 12:54:10PM +0000, RECOULES Frederic wrote:
> Thank you for the answer.
> 
> Yet, I agree this example has no real meaning, but my question is,
> as v is already an address (global variable), why GCC prefers to
> copy the value pointed by v into the stack and give the new pointer
> rather than just give v directly?

Ah, I see.  The copy is made in gimple already, and the RTL passes cannot
get rid of this.

Could you please file a bug?


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux