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