答复: Disassemble the .lib file compiled with gcc-arm-8.3-2019.03-x86_64-arm-eabi compilation tool chain, and found that malloc is optimized to calloc.

2020-11-04 Thread
Thanks. 发件人: Richard Earnshaw 发送时间: 2020年11月4日 23:45:39 收件人: YaRu Wei(魏亚茹); gcc@gcc.gnu.org 主题: Re: Disassemble the .lib file compiled with gcc-arm-8.3-2019.03-x86_64-arm-eabi compilation tool chain, and found that malloc is optimized to calloc. On 30/10/2020

Disassemble the .lib file compiled with gcc-arm-8.3-2019.03-x86_64-arm-eabi compilation tool chain, and found that malloc is optimized to calloc.

2020-10-30 Thread
Dear gcc: I find that disassemble the .lib file compiled with gcc-arm-8.3-2019.03-x86_64-arm-eabi compilation tool chain, and found that malloc is optimized to calloc. I want to know under what circumstances malloc will be optimized to calloc? Thanks