tree-optimization/103356 Add missing (~a) == b folding for _Bool

The following makes sure to fold (~a) ==  b to a ^ b for truth
values.

OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions.

Thanks,
Andrew Pinski

	PR tree-optimization/103356

gcc/ChangeLog:

	* match.pd: ((~a) == b -> a ^ b): New pattern.

gcc/testsuite/ChangeLog:

	* gcc.dg/pr103356-1.c: New test.
2 files changed