https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
--- Comment #23 from David Brown <david at westcontrol dot com> --- (In reply to LIU Hao from comment #22) > Yes, GCC should be told to shut up about dereferencing artificial address > values. One possibility is to have the warnings disabled whenever you are using a volatile pointer. After all, "volatile" is an indication that the compiler doesn't know everything, and it has to trust the programmer.