diff options
author | Richard Biener <rguenther@suse.de> | 2022-04-13 14:53:40 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-04-13 15:59:14 +0200 |
commit | ca145c6306f19272ac8756d88c4eba0bfdf01dfb (patch) | |
tree | c5660dd0a8056f52cf7b1ead2effeb4c986d6672 /gcc/d/expr.cc | |
parent | 29c46490de4616b911fccb34a9479f768fb51e94 (diff) | |
download | gcc-ca145c6306f19272ac8756d88c4eba0bfdf01dfb.zip gcc-ca145c6306f19272ac8756d88c4eba0bfdf01dfb.tar.gz gcc-ca145c6306f19272ac8756d88c4eba0bfdf01dfb.tar.bz2 |
tree-optimization/105263 - reassoc and DFP
reassoc has certain tricks which in the end depend on the ability
to undo them. For DFP creating a -1. constant is easy but
re-identifying is appearantly not - real_minus_onep rejects those
outright for DFP. So we have to disable (at least) this one trick.
2022-04-13 Richard Biener <rguenther@suse.de>
PR tree-optimization/105263
* tree-ssa-reassoc.cc (try_special_add_to_ops): Do not consume
negates in multiplication chains with DFP.
* gcc.dg/pr105263.c: New testcase.
Diffstat (limited to 'gcc/d/expr.cc')
0 files changed, 0 insertions, 0 deletions