https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128711
--- Comment #2 from Leo Yuriev <leo at yuriev dot ru> --- (In reply to Drea Pinski from comment #1) Kindly thanks for quick reply. In fact, it was the result of a copy-and-paste error in my code that I hadn't noticed for a long time due to my poor eyesight. So you've saved me dozens of debugging hours in a minute. All that remains is to wish that gcc would issue a warning when accessing global memory in the "const" path. Really thank you!
