aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-05-11 14:59:59 +0200
committerRichard Biener <rguenther@suse.de>2021-05-12 13:12:46 +0200
commitcd36bbb2281ada10b5e1df143ecf64b88cdb8119 (patch)
tree983629752943d4991d80d334edce7b9ff7a89da9 /gcc/omp-low.c
parentac18ded230f1559f271f8d66121b2f16805f0b27 (diff)
downloadgcc-cd36bbb2281ada10b5e1df143ecf64b88cdb8119.zip
gcc-cd36bbb2281ada10b5e1df143ecf64b88cdb8119.tar.gz
gcc-cd36bbb2281ada10b5e1df143ecf64b88cdb8119.tar.bz2
tree-optimization/100519 - avoid reassociating asm goto defs
This splits can_associate_p into checks for SSA defs and checks for the type so it can be called from is_reassociable_op to catch cases not catched by the earlier fix. 2021-05-11 Richard Biener <rguenther@suse.de> PR tree-optimization/100519 * tree-ssa-reassoc.c (can_associate_p): Split into... (can_associate_op_p): ... this (can_associate_type_p): ... and this. (is_reassociable_op): Call can_associate_op_p. (break_up_subtract_bb): Call the appropriate predicates. (reassociate_bb): Likewise. * gcc.dg/torture/pr100519.c: New testcase.
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions