]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/105163 - abnormal SSA coalescing and reassoc
authorRichard Biener <rguenther@suse.de>
Wed, 6 Apr 2022 07:36:38 +0000 (09:36 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 19 May 2022 14:01:09 +0000 (16:01 +0200)
commit132c3bb06a90887f5c173e00b7f2c5163e054ac1
tree96e949417dda0640730200c76ca236b1dde13c26
parent64b3a86d33e08072ea78f2a87c8a275bd15f07cb
tree-optimization/105163 - abnormal SSA coalescing and reassoc

The negate propagation optimizations in reassoc did not look out for
abnormal SSA coalescing issues.  The following fixes that.

2022-04-06  Richard Biener  <rguenther@suse.de>

PR tree-optimization/105163
* tree-ssa-reassoc.c (repropagate_negates): Avoid propagating
negated abnormals.

* gcc.dg/torture/pr105163.c: New testcase.

(cherry picked from commit 44fe49401725055a740ce47e80561b6932b8cd01)
gcc/testsuite/gcc.dg/torture/pr105163.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c
This page took 0.056211 seconds and 5 git commands to generate.