>This mailing list is about GCC, not general C programming. The realloc >function is not part of GCC. Sorry, I didn't notice it. I took it granted that libc is part of the GCC since there is a folder named "libstdc++" in the Github of GCC(i.e. https://github.com/gcc-mirror/gcc/tree/master/libstdc%2B%2B-v3). One more question arises, why there is no library for libc whereas libstdc++ is provided by GCC? Thank you for your attention to this matter. On Tue, Aug 11, 2020 at 3:22 PM Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: > > On Tue, 11 Aug 2020 at 07:39, 孙世龙 sunshilong via Gcc-help > <gcc-help@xxxxxxxxxxx> wrote: > > > > Thank you for your reply. > > > > >If the heap's corrupt, yes, it can fail... > > Could you please explain that in more detail? > > This mailing list is about GCC, not general C programming. The realloc > function is not part of GCC.