public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/55042] New: sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used
@ 2012-10-23 19:15 amylaar at gcc dot gnu.org
2012-10-27 13:36 ` [Bug target/55042] " olegendo at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: amylaar at gcc dot gnu.org @ 2012-10-23 19:15 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/55042] sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used
2012-10-23 19:15 [Bug target/55042] New: sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used amylaar at gcc dot gnu.org
@ 2012-10-27 13:36 ` olegendo at gcc dot gnu.org
2012-10-27 13:42 ` olegendo at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: olegendo at gcc dot gnu.org @ 2012-10-27 13:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55042
--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-10-27 13:36:24 UTC ---
Author: olegendo
Date: Sat Oct 27 13:36:20 2012
New Revision: 192877
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192877
Log:
PR target/55042
* config/sh/sh.c (sh1_builtin_p): Comment out unused function.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sh/sh.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/55042] sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used
2012-10-23 19:15 [Bug target/55042] New: sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used amylaar at gcc dot gnu.org
2012-10-27 13:36 ` [Bug target/55042] " olegendo at gcc dot gnu.org
@ 2012-10-27 13:42 ` olegendo at gcc dot gnu.org
2012-10-27 14:05 ` ubizjak at gmail dot com
2012-10-27 14:40 ` olegendo at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: olegendo at gcc dot gnu.org @ 2012-10-27 13:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55042
Oleg Endo <olegendo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-10-27 13:41:50 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/55042] sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used
2012-10-23 19:15 [Bug target/55042] New: sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used amylaar at gcc dot gnu.org
2012-10-27 13:36 ` [Bug target/55042] " olegendo at gcc dot gnu.org
2012-10-27 13:42 ` olegendo at gcc dot gnu.org
@ 2012-10-27 14:05 ` ubizjak at gmail dot com
2012-10-27 14:40 ` olegendo at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2012-10-27 14:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55042
--- Comment #3 from Uros Bizjak <ubizjak at gmail dot com> 2012-10-27 14:05:12 UTC ---
static bool ATTRIBUTE_UNUSED
perhaps?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/55042] sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used
2012-10-23 19:15 [Bug target/55042] New: sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used amylaar at gcc dot gnu.org
` (2 preceding siblings ...)
2012-10-27 14:05 ` ubizjak at gmail dot com
@ 2012-10-27 14:40 ` olegendo at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: olegendo at gcc dot gnu.org @ 2012-10-27 14:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55042
--- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-10-27 14:39:46 UTC ---
(In reply to comment #3)
> static bool ATTRIBUTE_UNUSED
>
> perhaps?
Yeah, that would also do the job. Do you insist? :)
Personally, I don't care, except for the comment that gives a hint why
something unused is still around.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-10-27 14:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-23 19:15 [Bug target/55042] New: sh.c:11586:1: error: ‘bool sh1_builtin_p()’ defined but not used amylaar at gcc dot gnu.org
2012-10-27 13:36 ` [Bug target/55042] " olegendo at gcc dot gnu.org
2012-10-27 13:42 ` olegendo at gcc dot gnu.org
2012-10-27 14:05 ` ubizjak at gmail dot com
2012-10-27 14:40 ` olegendo at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).