mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
libiberty: Restore build with CP_DEMANGLE_DEBUG defined
cp-demangle.c does not build when CP_DEMANGLE_DEBUG is defined since r13-2887-gb04208895fed34. This trivial patch fixes the issue. libiberty/ChangeLog: * cp-demangle.c (d_dump): Fix compilation when CP_DEMANGLE_DEBUG is defined.
This commit is contained in:
parent
7ce2229d54
commit
c1b2100e73
@ -655,9 +655,9 @@ d_dump (struct demangle_component *dc, int indent)
|
||||
return;
|
||||
case DEMANGLE_COMPONENT_EXTENDED_BUILTIN_TYPE:
|
||||
{
|
||||
char suffix[2] = { dc->u.s_extended_builtin.type->suffix, 0 };
|
||||
char suffix[2] = { dc->u.s_extended_builtin.suffix, 0 };
|
||||
printf ("builtin type %s%d%s\n", dc->u.s_extended_builtin.type->name,
|
||||
dc->u.s_extended_builtin.type->arg, suffix);
|
||||
dc->u.s_extended_builtin.arg, suffix);
|
||||
}
|
||||
return;
|
||||
case DEMANGLE_COMPONENT_OPERATOR:
|
||||
|
Loading…
Reference in New Issue
Block a user