]> git.ipfire.org Git - thirdparty/gcc.git/commit
debug_tree: print out clique/base for MEM_REF/TARGET_MEM_REF
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Tue, 14 Oct 2025 17:36:03 +0000 (10:36 -0700)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Wed, 15 Oct 2025 16:18:03 +0000 (09:18 -0700)
commit0a999da1c8842fd94706c13ced15a5205f497ecf
tree91f60a876e4d50b2b4469b80deefdc81869b17ce
parent99af0f9078865269ae13367a25e2b156c8ccba77
debug_tree: print out clique/base for MEM_REF/TARGET_MEM_REF

While debugging PR 122273, I noticed that print_node was not
printing out the clique/base for MEM_REF/TARGET_MEM_REF. This
made harder to understand why operand_equal_p (without looking
into the code) would be rejecting two looking the same MEM_REFs.

Changes since v1:
* v2: Don't print out clique/base if clique is 0.

Bootstrapped and tested on x86_64-linux-gnu.

gcc/ChangeLog:

* print-tree.cc (print_node): Print out clique/base
for MEM_REF and TARGET_MEM_REF.

Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
gcc/print-tree.cc