re PR target/55042 (sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used)
authorOleg Endo <olegendo@gcc.gnu.org>
Sat, 27 Oct 2012 13:36:20 +0000 (13:36 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sat, 27 Oct 2012 13:36:20 +0000 (13:36 +0000)
PR target/55042
* config/sh/sh.c (sh1_builtin_p): Comment out unused function.

From-SVN: r192877

gcc/ChangeLog
gcc/config/sh/sh.c

index de68dac17d752e51d4d844b5e5dbf866e2930003..22d2504dc9b6d9e9cf672b15a775cc543362f319 100644 (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.
index 4d65685a857d069df22cd98d21f209bf78fc3c88..40afdb4378437c9e5ad74f7ea3e210d1d42212c7 100644 (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 */