[Bug fortran/101757] Simple integer assigment fails (off-seted by -1) when compiling with -O3

federico.perini at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 3 16:26:22 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101757

--- Comment #1 from federico <federico.perini at gmail dot com> ---
Actually, the results are not "off-seted": whatever was to be set to 0 is
properly set; values that should be set "+1" are given "-1" instead: 

itest(1)= 0 itest(2)=-1
 test(1)= F  test(2)= T

Federico


More information about the Gcc-bugs mailing list