[Bug c++/88562] Incorrect pointer incrementing on ST-SH4

zavadovsky.yan at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 20 12:16:00 GMT 2018


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.


More information about the Gcc-bugs mailing list