aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-math-opts.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2020-11-22 10:53:14 -0700
committerJeff Law <law@redhat.com>2020-11-22 10:57:20 -0700
commitfdd2fb172940c5fc60e1d8195b30f7ebc0e754d0 (patch)
tree0a45b817efbcee6bf6b7d72eb1e0095301535854 /gcc/tree-ssa-math-opts.c
parent3c52cd517a34b6b37eb17d4defd63bb31e60888b (diff)
downloadgcc-fdd2fb172940c5fc60e1d8195b30f7ebc0e754d0.zip
gcc-fdd2fb172940c5fc60e1d8195b30f7ebc0e754d0.tar.gz
gcc-fdd2fb172940c5fc60e1d8195b30f7ebc0e754d0.tar.bz2
Partially revert recent H8 patch for conditional branches
So I'd forgotten an important tidbit on the H8 port. Specifically for a branch instruction, the target label must be operand 0 for the length computations. This really only affects the main conditional branch pattern. The other conditional branch patterns are split and ultimately funnel into the main pattern. This patch fixes the issue by partially reverting an earlier change. This issue didn't show up until late in the optimization work on cc0 removal of the H8 port, but was caught by the testsuite. So there's no new test. Built and regression tested H8 with this change, with and without the cc0 removal patches. gcc/ * config/h8300/jumpcall.md (branch_true, branch_false): Revert recent change. Ensure operand[0] is always the target label.
Diffstat (limited to 'gcc/tree-ssa-math-opts.c')
0 files changed, 0 insertions, 0 deletions