PR middle-end/90676 - default GIMPLE dumps lack information
authorMartin Sebor <msebor@redhat.com>
Wed, 12 Jun 2019 17:05:35 +0000 (17:05 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Wed, 12 Jun 2019 17:05:35 +0000 (11:05 -0600)
commit313b30efe5a8de2da277d989feff8305f0526592
tree7c1762ddd3596fd1b375575e2be8e68066f96389
parent7802a8ec9a03e6ced5b5d8f9018c6b9f45677c3f
PR middle-end/90676 - default GIMPLE dumps lack information

gcc/ChangeLog:

PR middle-end/90676
* tree-pretty-print.c (dump_mem_ref): New function.  Include
MEM_REF type in output when different size than operand.
(dump_generic_node): Move code to dump_mem_ref and call it.

gcc/testsuite/ChangeLog:

PR middle-end/90676
* gcc.dg/tree-ssa/dump-6.c: New test.
* g++.dg/tree-ssa/pr19807.C: Adjust expected output.
* g++.dg/tree-ssa/ssa-dse-1.C: Same.
* gcc.dg/store_merging_5.c: Same.
* gcc.dg/tree-prof/stringop-2.c: Same.
* gcc.dg/tree-ssa/pr30375.c: Same.
* gcc.dg/tree-ssa/slsr-27.c: Same.
* gcc.dg/tree-ssa/slsr-28.c: Same.
* gcc.dg/tree-ssa/slsr-29.c: Same.
* gcc.dg/tree-ssa/ssa-dse-24.c: Same.

From-SVN: r272199
13 files changed:
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr19807.C
gcc/testsuite/g++.dg/tree-ssa/ssa-dse-1.C
gcc/testsuite/gcc.dg/store_merging_5.c
gcc/testsuite/gcc.dg/tree-prof/stringop-2.c
gcc/testsuite/gcc.dg/tree-ssa/dump-6.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr30375.c
gcc/testsuite/gcc.dg/tree-ssa/slsr-27.c
gcc/testsuite/gcc.dg/tree-ssa/slsr-28.c
gcc/testsuite/gcc.dg/tree-ssa/slsr-29.c
gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-24.c
gcc/tree-pretty-print.c