aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sh
diff options
context:
space:
mode:
authorOleg Endo <olegendo@gcc.gnu.org>2012-10-27 13:36:20 +0000
committerOleg Endo <olegendo@gcc.gnu.org>2012-10-27 13:36:20 +0000
commit4c69428c4b8faf5de38fa96de537c86b4fc5bcd0 (patch)
treea427f2053949b6cdf4762bdf9fb3fd8ada3fa7ad /gcc/config/sh
parentc2a2f146c7cc53e6865176c9faa9135ae15ef9cc (diff)
PR target/55042
* config/sh/sh.c (sh1_builtin_p): Comment out unused function. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@192877 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh')
-rw-r--r--gcc/config/sh/sh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index 4d65685a857..40afdb43784 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 */