re PR target/55042 (sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used)

PR target/55042
	* config/sh/sh.c (sh1_builtin_p): Comment out unused function.

From-SVN: r192877
This commit is contained in:
Oleg Endo 2012-10-27 13:36:20 +00:00
parent 099e644e2d
commit 6af1a779f7
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-10-27 Oleg Endo <olegendo@gcc.gnu.org>
PR target/55042
* config/sh/sh.c (sh1_builtin_p): Comment out unused function.
2012-10-27 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*lea<mode>): Remove unneeded temporary.

View File

@ -11582,11 +11582,14 @@ shmedia_builtin_p (void)
return TARGET_SHMEDIA;
}
/* This function can be used if there are any built-ins that are not for
SHmedia. It's commented out to avoid the defined-but-unused warning.
static bool
sh1_builtin_p (void)
{
return TARGET_SH1;
}
*/
/* describe number and signedness of arguments; arg[0] == result
(1: unsigned, 2: signed, 4: don't care, 8: pointer 0: no argument */