]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization: [PR102622]: wrong code due to signed one bit integer and "a?-1:0"
authorAndrew Pinski <apinski@marvell.com>
Sun, 10 Oct 2021 01:28:59 +0000 (01:28 +0000)
committerAndrew Pinski <apinski@marvell.com>
Mon, 11 Oct 2021 21:16:19 +0000 (21:16 +0000)
commite3c06b990b2458b87f72a0c63e0de72cf69f7fc4
treeac06bfe8e838bc19e3536e31735b818eb3a6a871
parentb7c46a1d1ce1b29cc5c78d91d83a82c6a488bde7
tree-optimization: [PR102622]: wrong code due to signed one bit integer and "a?-1:0"

Since the problem was already fixed on this branch, we just want to add the
testcase so it does not regress there.

PR tree-optimization/102622

gcc/testsuite/ChangeLog:

* gcc.c-torture/execute/bitfld-10.c: New test.

(cherry picked from commit 882d806c1a8f9d2d2ade1133de88d63e5d4fe40c)
gcc/testsuite/gcc.c-torture/execute/bitfld-10.c [new file with mode: 0644]