diff options
author | yury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-05-06 14:18:44 +0000 |
---|---|---|
committer | yury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-05-06 14:18:44 +0000 |
commit | c475a56295a7d4fc4dbefc5cd062e48d673ea364 (patch) | |
tree | be265f682be1fdee01e7aa408af5f02b2fa7d7e2 /tests/tbs | |
parent | c2cf80d10f749d99dfc95f8c3785e737f279789d (diff) | |
download | fpc-c475a56295a7d4fc4dbefc5cd062e48d673ea364.tar.gz |
* x86: Fixed peephole optimization introduced in r44233. tb0219 and tb0548 tests have failed with -O2 since then.
* Added variants of the tb0219 and tb0548 tests with forced -O2.
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@45291 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'tests/tbs')
-rw-r--r-- | tests/tbs/tb0219a.pp | 4 | ||||
-rw-r--r-- | tests/tbs/tb0548a.pp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/tbs/tb0219a.pp b/tests/tbs/tb0219a.pp new file mode 100644 index 0000000000..1c49bac978 --- /dev/null +++ b/tests/tbs/tb0219a.pp @@ -0,0 +1,4 @@ +{ %OPT=-O2 } +{ Additional test with -O2 since higher optimizaton levels are + smart enough to completely remove the test code } +{$I tb0219.pp} diff --git a/tests/tbs/tb0548a.pp b/tests/tbs/tb0548a.pp new file mode 100644 index 0000000000..924479cd4a --- /dev/null +++ b/tests/tbs/tb0548a.pp @@ -0,0 +1,4 @@ +{ %OPT=-O2 } +{ Additional test with -O2 since higher optimizaton levels are + smart enough to completely remove the test code } +{$I tb0548.pp} |