Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MATCH: Fix zero_one_valued_p's convert pattern
While working on PR 111972, I was getting a regression due to zero_one_valued_p matching a signed 1 bit integer when it came to convert. This patch fixes that by checking the outer type too. Bootstrapped and tested on x86_64-linux-gnu with no regressions. gcc/ChangeLog: * match.pd (zero_one_valued_p): For convert make sure type is not a signed 1-bit integer. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
- Loading branch information