http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55034
Bug #: 55034 Summary: avr.c:2877:7: error: variable ‘regno_dest’ set but not used Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: amyl...@gcc.gnu.org CC: cherty...@gmail.com, eric.wedding...@atmel.com Blocks: 44756 Target: avr-elf, avr-rtems 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/avr/avr.c -o avr.o ../../../gcc/gcc/config/avr/avr.c: In function ‘const char* avr_out_lpm(rtx, rtx_def**, int*)’: ../../../gcc/gcc/config/avr/avr.c:2877:7: error: variable ‘regno_dest’ set but not used [-Werror=unused-but-set-variable] int regno_dest; ^ cc1plus: all warnings being treated as errors make[2]: *** [avr.o] Error 1