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../../../gcc/gcc/../libdecnumber
-I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber  -DCLOOG_PPL_BACKEND 
-I/usr/include/libelf  insn-emit.c -o insn-emit.o
../../../gcc/gcc/config/sh/sh.md: In function ‘gen_symGOT_load’:
../../../gcc/gcc/config/sh/sh.md:8472:7: error: variable ‘insn’ set but not
used [-Werror=unused-but-set-variable]
../../../gcc/gcc/config/sh/sh.md: In function ‘gen_symDTPOFF2reg’:
../../../gcc/gcc/config/sh/sh.md:8688:18: error: variable ‘insn’ set but not
used [-Werror=unused-but-set-variable]
../../../gcc/gcc/config/sh/sh.md: In function ‘gen_symTPOFF2reg’:
../../../gcc/gcc/config/sh/sh.md:8739:17: error: variable ‘insn’ set but not
used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[1]: *** [insn-emit.o] Error 1
make[1]: Leaving directory `/user/inria/fsf/multi/sh-elf/gcc'
make: *** [all-gcc] Error 2


-- 
           Summary: sh.md warnings
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
GCC target triplet: sh-elf
OtherBugsDependingO 44756
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44761

Reply via email to