diff options
author | Martin Sebor <msebor@redhat.com> | 2017-05-22 16:17:59 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2017-05-22 10:17:59 -0600 |
commit | a5f15ed90a9e5dac66aca6a10087ac5169e6d5c6 (patch) | |
tree | bf4cca16feb19ebe8b9d99319169eabf5d293edf /gcc | |
parent | 65cc14079e114bbc95843b11343aae6507ef2088 (diff) | |
download | gcc-a5f15ed90a9e5dac66aca6a10087ac5169e6d5c6.zip gcc-a5f15ed90a9e5dac66aca6a10087ac5169e6d5c6.tar.gz gcc-a5f15ed90a9e5dac66aca6a10087ac5169e6d5c6.tar.bz2 |
print-tree.c (print_node): Print DECL_READ_P flag.
gcc/ChangeLog:
* print-tree.c (print_node): Print DECL_READ_P flag.
From-SVN: r248339
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/print-tree.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2efcf7e..3dac225 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-05-19 Martin Sebor <msebor@redhat.com> + + * print-tree.c (print_node): Print DECL_READ_P flag. + 2017-05-22 Jan Hubicka <hubicka@ucw.cz> * Makefile.in: Add ipa-fnsummary.o and ipa-fnsummary.h diff --git a/gcc/print-tree.c b/gcc/print-tree.c index fb58be6..388c694 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -400,6 +400,8 @@ print_node (FILE *file, const char *prefix, tree node, int indent, fputs (" in-constant-pool", file); if (code == VAR_DECL && DECL_COMMON (node)) fputs (" common", file); + if ((code == VAR_DECL || code == PARM_DECL) && DECL_READ_P (node)) + fputs (" read", file); if (code == VAR_DECL && DECL_THREAD_LOCAL_P (node)) { fputs (" ", file); |