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

           Summary: lm32.md: ashlsi3: error: unused variable ‘one’
           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: leker...@gcc.gnu.org
            Blocks: 44756
            Target: lm32-elf, lm32-rtems, lm32-uclinux


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    insn-emit.c -o insn-emit.o
../../../gcc/gcc/config/lm32/lm32.md: In function ‘gen_ashlsi3’:
../../../gcc/gcc/config/lm32/lm32.md:827:15: error: unused variable ‘one’
[-Werror=unused-variable]
cc1: all warnings being treated as errors

Reply via email to