[Bug c/105581] boolean types and relational operators problem

2022-05-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105581 --- Comment #4 from Andreas Schwab --- There is nothing abstractly wrong with ordering false and true.

[Bug c/105581] boolean types and relational operators problem

2022-05-12 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105581 --- Comment #3 from David Binderman --- (In reply to Andrew Pinski from comment #1) > Well. There is a meaning for the code though. > That is negative > other_negative > Means negative is true while other_negative is false the result will be tru

[Bug c/105581] boolean types and relational operators problem

2022-05-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105581 --- Comment #2 from Andreas Schwab --- Equivalent to negative && !other_negative.

[Bug c/105581] boolean types and relational operators problem

2022-05-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105581 --- Comment #1 from Andrew Pinski --- Well. There is a meaning for the code though. That is negative > other_negative Means negative is true while other_negative is false the result will be true which is exactly what it is testing here.