]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Add further testcase for already fixed PR [PR109778]
authorJakub Jelinek <jakub@redhat.com>
Tue, 9 May 2023 10:14:18 +0000 (12:14 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 9 May 2023 11:07:17 +0000 (13:07 +0200)
commitd68d989286340c20bc0f713addf44dc0f0d77ac3
tree5cb7071d6bfe208ef0d7d33da2629dcbc0b856d3
parentf06a5c09287ad4606872403c6f8b01d1fe2f5540
testsuite: Add further testcase for already fixed PR [PR109778]

I came up with a testcase which reproduces all the way to r10-7469.
LTO to avoid early inlining it, so that ccp handles rotates and not
shifts before they are turned into rotates.

2023-05-09  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/109778
* gcc.dg/lto/pr109778_0.c: New test.
* gcc.dg/lto/pr109778_1.c: New file.

(cherry picked from commit c2cf2dc988eb93551fa1c01d3f8d73ef21f39dc5)
gcc/testsuite/gcc.dg/lto/pr109778_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/pr109778_1.c [new file with mode: 0644]