* [PATCH][xtensa] Remove unused variable
@ 2012-10-21 9:40 Chung-Lin Tang
0 siblings, 0 replies; only message in thread
From: Chung-Lin Tang @ 2012-10-21 9:40 UTC (permalink / raw)
To: gcc-patches; +Cc: Sterling Augustine, Jan-Benedict Glaw
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
Hi Sterling,
the last thread pointer builtin changes left an unused 'arg' variable in
xtensa_expand_builtin(), which triggered a new warning. Thanks to
Jan-Benedict for testing this. Attached patch was committed as obvious.
Thanks,
Chung-Lin
* config/xtensa/xtensa.c (xtensa_expand_builtin): Remove unused
'arg' variable.
[-- Attachment #2: xtensa1.diff --]
[-- Type: text/plain, Size: 402 bytes --]
Index: config/xtensa/xtensa.c
===================================================================
--- config/xtensa/xtensa.c (revision 192647)
+++ config/xtensa/xtensa.c (working copy)
@@ -3133,7 +3133,6 @@ xtensa_expand_builtin (tree exp, rtx target,
{
tree fndecl = TREE_OPERAND (CALL_EXPR_FN (exp), 0);
unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
- rtx arg;
switch (fcode)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-21 6:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-21 9:40 [PATCH][xtensa] Remove unused variable Chung-Lin Tang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).