From 6af1a779f79bda60d6ea6eab1fc02804d3cf79bf Mon Sep 17 00:00:00 2001 From: Oleg Endo Date: Sat, 27 Oct 2012 13:36:20 +0000 Subject: =?UTF-8?q?re=20PR=20target/55042=20(sh.c:11586:1:=20error:=20?= =?UTF-8?q?=E2=80=98bool=20sh1=5Fbuiltin=5Fp()=E2=80=99=20defined=20but=20?= =?UTF-8?q?not=20used)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR target/55042 * config/sh/sh.c (sh1_builtin_p): Comment out unused function. From-SVN: r192877 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.c | 3 +++ 2 files changed, 8 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de68dac1..22d2504 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 4d65685..40afdb4 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 */ -- cgit v1.1