Backport r253639
2017-11-21 Martin Liska <mliska@suse.cz> Backport from mainline 2017-10-11 Martin Liska <mliska@suse.cz> * print-rtl.c (print_insn): Move declaration of idbuf to same scope as name. From-SVN: r255007
This commit is contained in:
parent
78ec951e50
commit
543d5c3289
|
@ -1,3 +1,11 @@
|
||||||
|
2017-11-21 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
Backport from mainline
|
||||||
|
2017-10-11 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
* print-rtl.c (print_insn): Move declaration of idbuf
|
||||||
|
to same scope as name.
|
||||||
|
|
||||||
2017-11-21 Claudiu Zissulescu <claziss@synopsys.com>
|
2017-11-21 Claudiu Zissulescu <claziss@synopsys.com>
|
||||||
|
|
||||||
Backport from mainline
|
Backport from mainline
|
||||||
|
|
|
@ -1792,11 +1792,11 @@ print_insn (pretty_printer *pp, const rtx_insn *x, int verbose)
|
||||||
case DEBUG_INSN:
|
case DEBUG_INSN:
|
||||||
{
|
{
|
||||||
const char *name = "?";
|
const char *name = "?";
|
||||||
|
char idbuf[32];
|
||||||
|
|
||||||
if (DECL_P (INSN_VAR_LOCATION_DECL (x)))
|
if (DECL_P (INSN_VAR_LOCATION_DECL (x)))
|
||||||
{
|
{
|
||||||
tree id = DECL_NAME (INSN_VAR_LOCATION_DECL (x));
|
tree id = DECL_NAME (INSN_VAR_LOCATION_DECL (x));
|
||||||
char idbuf[32];
|
|
||||||
if (id)
|
if (id)
|
||||||
name = IDENTIFIER_POINTER (id);
|
name = IDENTIFIER_POINTER (id);
|
||||||
else if (TREE_CODE (INSN_VAR_LOCATION_DECL (x))
|
else if (TREE_CODE (INSN_VAR_LOCATION_DECL (x))
|
||||||
|
|
Loading…
Reference in New Issue