[Bug c++/98151] integer output gives different results with -O2 and -O3

2020-12-05 Thread bradley_bell at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98151 --- Comment #5 from Brad Bell --- Compiling with g++ -fsanitize=undefined -O2 int_output.cpp -o int_output does in fact give a very useful message I scanned the page https://www.gnu.org/software/gcc/bugs/ and looked for things that might

[Bug c++/98151] integer output gives different results with -O2 and -O3

2020-12-04 Thread bradley_bell at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98151 --- Comment #2 from Brad Bell --- That fixed my test result. Sorry I missed that. Thanks.

[Bug c++/98151] New: integer output gives different results with -O2 and -O3

2020-12-04 Thread bradley_bell at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98151 Bug ID: 98151 Summary: integer output gives different results with -O2 and -O3 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Prior