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

           Summary: v850e-elf: incompatible pointer type (near
                    initialization for ‘targetm.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: v850e-elf


The v850e-elf build fails with:

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/v850/v850.c -o v850.o
../../../gcc/gcc/config/v850/v850.c:3283:8: error: initialization from
incompatible pointer type [-Werror]
../../../gcc/gcc/config/v850/v850.c:3283:8: error: (near initialization for
‘targetm.memory_move_cost’) [-Werror]
cc1: all warnings being treated as errors

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

Reply via email to