[SH,committed] PR 55042

Submitted by Oleg Endo on Oct. 27, 2012, 1:38 p.m.

Details

Message ID 1351345115.25600.1.camel@yam-132-YW-E178-FTW
State New
Headers show

Commit Message

Oleg Endo Oct. 27, 2012, 1:38 p.m.
Hello,

I've committed the obvious fix for PR 55042 as rev 192877.

Cheers,
Oleg

gcc/ChangeLog:

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

Patch hide | download patch | download mbox

Index: gcc/config/sh/sh.c
===================================================================
--- gcc/config/sh/sh.c	(revision 192482)
+++ gcc/config/sh/sh.c	(working copy)
@@ -11587,11 +11587,14 @@ 
   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 */