From: Oleg Endo Date: Sat, 27 Oct 2012 13:36:20 +0000 (+0000) Subject: re PR target/55042 (sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used) X-Git-Tag: releases/gcc-4.8.0~2502 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6af1a779f79bda60d6ea6eab1fc02804d3cf79bf;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de68dac17d75..22d2504dc9b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-10-27 Oleg Endo + + PR target/55042 + * config/sh/sh.c (sh1_builtin_p): Comment out unused function. + 2012-10-27 Uros Bizjak * config/i386/i386.md (*lea): Remove unneeded temporary. diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 4d65685a857d..40afdb437843 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -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 */