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

           Summary: unused parameters in rx.c:rx_memory_move_cost
           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: ni...@redhat.com
            Blocks: 44756
            Target: rx-elf


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/rx/rx.c -o rx.o
../../../gcc/gcc/config/rx/rx.c: In function ‘rx_memory_move_cost’:
../../../gcc/gcc/config/rx/rx.c:2639:40: error: unused parameter ‘mode’
[-Werror=unused-parameter]
../../../gcc/gcc/config/rx/rx.c:2639:58: error: unused parameter ‘regclass’
[-Werror=unused-parameter]
cc1: all warnings being treated as errors

make[2]: *** [rx.o] Error 1

Reply via email to