Committed, CRIS: remove unused variables from cris_asm_output_ident
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Fri Jul 20 21:33:00 GMT 2012
Looks like these were left from Steven's ident-cleanup.
Steven, for future reference, you might want to use
contrib/warn_summary on the build-logs. ;)
Incidentally, the magic option to increase diff context for svn
is -x -U<N> as in "-x -U5" below, just to show there's not much
else in that function.
Committed after a cris-elf test-run.
gcc:
* config/cris/cris.c (cris_asm_output_ident): Remove unused
local variables section_asm_op, size, buf.
Index: gcc/config/cris/cris.c
===================================================================
--- gcc/config/cris/cris.c (revision 189727)
+++ gcc/config/cris/cris.c (working copy)
@@ -2518,14 +2518,10 @@ cris_legitimate_pic_operand (rtx x)
If the front-end is done, we must be being called from toplev.c.
In that case, do nothing. */
void
cris_asm_output_ident (const char *string)
{
- const char *section_asm_op;
- int size;
- char *buf;
-
if (cgraph_state != CGRAPH_STATE_PARSING)
return;
default_asm_output_ident_directive (string);
}
brgds, H-P
More information about the Gcc-patches
mailing list