https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98209
--- Comment #8 from jamesgua at ca dot ibm.com ---
one more function found the same issue:
memcpy
I guess more functions in libc might have same issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98209
--- Comment #2 from jamesgua at ca dot ibm.com ---
Created attachment 49709
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49709&action=edit
preprocessed src file gcc -E
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98209
Bug ID: 98209
Summary: printf failed with O1 or above
Product: gcc
Version: 9.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assign