public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5161] [PR42093] [arm] [thumb2] disable tree-dce for test
@ 2023-01-14 0:16 Alexandre Oliva
0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2023-01-14 0:16 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:31aaa6ef5a952d4f64fb04010459f28e0e793702
commit r13-5161-g31aaa6ef5a952d4f64fb04010459f28e0e793702
Author: Alexandre Oliva <oliva@adacore.com>
Date: Fri Jan 13 21:15:42 2023 -0300
[PR42093] [arm] [thumb2] disable tree-dce for test
CD-DCE introduces blocks to share common PHI nodes, which replaces a
backwards branch that used to prevent the thumb2 jump table shortening
that PR42093 tested for. In order to keep on testing that the
backward branch prevents the jumptable shortening, disable tree-dce.
for gcc/testsuite/ChangeLog
PR target/42093
* gcc.target/arm/pr42093.c: Disable tree-dce.
Diff:
---
gcc/testsuite/gcc.target/arm/pr42093.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/arm/pr42093.c b/gcc/testsuite/gcc.target/arm/pr42093.c
index 7ba2f933eef..69b1470607c 100644
--- a/gcc/testsuite/gcc.target/arm/pr42093.c
+++ b/gcc/testsuite/gcc.target/arm/pr42093.c
@@ -1,4 +1,4 @@
-/* { dg-options "-mthumb -O2 -fno-reorder-blocks" } */
+/* { dg-options "-mthumb -O2 -fno-reorder-blocks -fno-tree-dce" } */
/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-final { scan-assembler-not "tbb" } } */
/* { dg-final { scan-assembler-not "tbh" } } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-14 0:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-14 0:16 [gcc r13-5161] [PR42093] [arm] [thumb2] disable tree-dce for test Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).