public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/98123] New: if-to-switch tests fail on arm
@ 2020-12-03 14:25 clyon at gcc dot gnu.org
  2020-12-03 15:21 ` [Bug tree-optimization/98123] " marxin at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: clyon at gcc dot gnu.org @ 2020-12-03 14:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98123

            Bug ID: 98123
           Summary: if-to-switch tests fail on arm
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

The recently introduced if-to-switch-* tests fail on arm:

gcc.dg/tree-ssa/if-to-switch-2.c scan-tree-dump iftoswitch "Condition chain
with 3 BBs transformed into a switch statement."
gcc.dg/tree-ssa/if-to-switch-3.c scan-tree-dump iftoswitch "Condition chain
with 3 BBs transformed into a switch statement."
gcc.dg/tree-ssa/if-to-switch-4.c scan-tree-dump-not iftoswitch "Condition
chain"
gcc.dg/tree-ssa/if-to-switch-5.c scan-tree-dump iftoswitch "Condition chain
with 5 BBs transformed into a switch statement."
gcc.dg/tree-ssa/if-to-switch-6.c scan-tree-dump-not iftoswitch "Condition
chain"
gcc.dg/tree-ssa/if-to-switch-8.c scan-tree-dump-not iftoswitch "Condition
chain"

When GCC is configured with:
--target arm-none-linux-gnueabihf
--with-mode thumb
--with-cpu cortex-a5
--with-fpu vfpv3-d16-fp16

Configuring for cortex-a9 instead of cortex-a5 shows less failures, only:
gcc.dg/tree-ssa/if-to-switch-4.c scan-tree-dump-not iftoswitch "Condition
chain"
gcc.dg/tree-ssa/if-to-switch-6.c scan-tree-dump-not iftoswitch "Condition
chain"
gcc.dg/tree-ssa/if-to-switch-8.c scan-tree-dump-not iftoswitch "Condition
chain"

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-04  9:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-03 14:25 [Bug tree-optimization/98123] New: if-to-switch tests fail on arm clyon at gcc dot gnu.org
2020-12-03 15:21 ` [Bug tree-optimization/98123] " marxin at gcc dot gnu.org
2020-12-03 15:33 ` marxin at gcc dot gnu.org
2020-12-04  7:00 ` marxin at gcc dot gnu.org
2020-12-04  9:12 ` clyon at gcc dot gnu.org
2020-12-04  9:45 ` [Bug testsuite/98123] " cvs-commit at gcc dot gnu.org
2020-12-04  9:46 ` marxin at gcc dot gnu.org

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).