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
This commit is contained in:
parent
65cc14079e
commit
a5f15ed90a
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue