This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/55042] New: sh.c:11586:1: error: âbool sh1_builtin_p()â defined but not used
- From: "amylaar at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Oct 2012 19:15:04 +0000
- Subject: [Bug target/55042] New: sh.c:11586:1: error: âbool sh1_builtin_p()â defined but not used
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: amylaar@gcc.gnu.org
CC: olegendo@gcc.gnu.org
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