[Committed] Fix tree-optimization/103152: Still one more -signed1bit issue
authorAndrew Pinski <apinski@marvell.com>
Tue, 9 Nov 2021 09:56:10 +0000 (09:56 +0000)
committerAndrew Pinski <apinski@marvell.com>
Tue, 9 Nov 2021 19:01:57 +0000 (19:01 +0000)
commitf7844b6a777cb47fec7208d7bd594f6ce66f1daa
tree1ce4db903a8a2080883ecb15bbc34474f9edaf97
parent56af35de3d11960100996b96034dc9ccd7c75ca3
[Committed] Fix tree-optimization/103152: Still one more -signed1bit issue

When I fixed PR 102622, I accidently left behind a TYPE_PRECISION
check which I had there for checking before hand.  This check
is not needed as the code will handle it correctly anyways.

Committed as obvious after a bootstrap/test on x86_64-linux-gnu.

PR tree-optimization/10352

gcc/ChangeLog:

* match.pd: Remove check of TYPE_PRECISION for
the a?0:pow2 case.

gcc/testsuite/ChangeLog:

* gcc.c-torture/execute/pr10352-1.c: New test.
gcc/match.pd
gcc/testsuite/gcc.c-torture/execute/pr10352-1.c [new file with mode: 0644]