diff options
author | Richard Biener <rguenther@suse.de> | 2023-07-06 13:51:55 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-07-06 15:24:42 +0200 |
commit | 7b16686ef882ab141276f0e36a9d4ce1d755f64a (patch) | |
tree | 175ad3796473a239e4f828e873dc2d2a83df694f /libgcc | |
parent | acaa441a98bebc5216334557cf8d09d63087ce37 (diff) | |
download | gcc-7b16686ef882ab141276f0e36a9d4ce1d755f64a.zip gcc-7b16686ef882ab141276f0e36a9d4ce1d755f64a.tar.gz gcc-7b16686ef882ab141276f0e36a9d4ce1d755f64a.tar.bz2 |
tree-optimization/110556 - tail merging still pre-tuples
The stmt comparison function for GIMPLE_ASSIGNs for tail merging
still looks like it deals with pre-tuples IL. The following
attempts to fix this, not only comparing the first operand (sic!)
of stmts but all of them plus also compare the operation code.
PR tree-optimization/110556
* tree-ssa-tail-merge.cc (gimple_equal_p): Check
assign code and all operands of non-stores.
* gcc.dg/torture/pr110556.c: New testcase.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions