https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105107 --- Comment #2 from Li Shaohua <shaohua.li at inf dot ethz.ch> --- Thanks for your prompt reply. The warning messages only appeared for -O0 and -O3, not for -O1 and -O2. I wonder this might also be an issue.