On 2025-01-13 17:48, Tobias Burnus wrote:
Andreas Schwab wrote:
This breaks m68k:
Same issue on GCN, hence I filed https://gcc.gnu.org/PR118418
This also breaks gcc bootstrap on riscv64 under some specific configuration:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012#c12
Although it doesn't seem to be the same issue here.
If I look at the debugging output, see PR, it seems as if
the self-test function test_comparisons contains the assumption:
FALSE < TRUE
but if TRUE is -1, that assumption does not hold
(for signed variables).
And both GCN and m68k '#define STORE_FLAG_VALUE -1',
as Andreas noted.
Tobias