https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88562
--- Comment #4 from Zavadovsky Yan <zavadovsky.yan at gmail dot com> --- Some additional note. Test code is placed in separate file from 'Read32' function implementation because inlining of 'Read32' will avoid bug. Full source file on which bug was observed has about 300 lines of code. And 'Read32' wasn't inlined while compilation. But after stripping non-releated code compiler inlined remaining code. And bug was disappeared.