http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48897
Summary: mn10300.c:extract_bundle’: error: variable ‘s’ set but not used Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: amyl...@gcc.gnu.org CC: aol...@gcc.gnu.org, l...@redhat.com Blocks: 44756 Target: am33_2.0-linux gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include -I/opt/cfarm/mpc/include -I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber \ ../../../gcc/gcc/config/mn10300/mn10300.c -o mn10300.o ../../../gcc/gcc/config/mn10300/mn10300.c: In function ‘extract_bundle’: ../../../gcc/gcc/config/mn10300/mn10300.c:2962:9: error: variable ‘s’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors