http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55042
Bug #: 55042
Summary: sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined
but not used
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Blocks: 44756
Target: sh5el-netbsd, sh64 --with-newlib, sh64-linux,
sh64-netbsd, sh-elf, shle-linux, sh-netbsdelf,
sh-rtems, sh-superh-elf
g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
-DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/.
-I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include
-I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../../gcc/gcc/../libbacktrace \
../../../gcc/gcc/config/sh/sh.c -o sh.o
../../../gcc/gcc/config/sh/sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined
but not used [-Werror=unused-function]
sh1_builtin_p (void)
^
cc1plus: all warnings being treated as errors
make[2]: *** [sh.o] Error 1