Re: Help required for GCC structure variable assignment optimization

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

 



On 2018-07-25 16:40 +0530, Gampu Z wrote:
> In this case, can we instruct GCC to not insert memcpy for structure
> assignments in the first place?
> just leave the structure variable assignment un-optimized?
> 
> Is it possible?
> I tried with various options like -O0, -fno-builtin, -fno-builtin-function,
> -fno-tree-loop-distribute-patterns but memcpy is still inserted by GCC.

-mmemcpy-strategy=rep_byte:-1:noalign
-- 
Xi Ruoyao <ryxi@xxxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University



[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