This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GO_IF_LEGITIMATE_ADDRESS: vax-linux broken @147534


Hi Paolo!

The ChangeLog entry for the VAX parts doesn't match your change wrt.
vax-protos.h, where a number of functions are now declared as int
instead of bool (and thus no longer match their definition):

$ .../configure --target vax-linux --prefix <somewhere> --enable-languages=c,c++ --disable-libc --disable-libmudflap --disable-libssp --disable-multilib --disable-shared --enable-static --with-system-zlib --enable-threads
$ make all-gcc
[...]
gcc -c  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. -I/home/jbglaw/devel/sources/gcc/gcc -I/home/jbglaw/devel/sources/gcc/gcc/. -I/home/jbglaw/devel/sources/gcc/gcc/../include -I/home/jbglaw/devel/sources/gcc/gcc/../libcpp/include  -I/home/jbglaw/devel/sources/gcc/gcc/../libdecnumber -I/home/jbglaw/devel/sources/gcc/gcc/../libdecnumber/dpd -I../libdecnumber    \
                /home/jbglaw/devel/sources/gcc/gcc/config/vax/vax.c -o vax.o
/home/jbglaw/devel/sources/gcc/gcc/config/vax/vax.c:1559: error: conflicting types for âlegitimate_constant_address_pâ
/home/jbglaw/devel/sources/gcc/gcc/config/vax/vax-protos.h:22: error: previous declaration of âlegitimate_constant_address_pâ was here
/home/jbglaw/devel/sources/gcc/gcc/config/vax/vax.c:1579: error: conflicting types for âlegitimate_constant_pâ
/home/jbglaw/devel/sources/gcc/gcc/config/vax/vax-protos.h:23: error: previous declaration of âlegitimate_constant_pâ was here
/home/jbglaw/devel/sources/gcc/gcc/config/vax/vax.c:1777: error: conflicting types for âvax_mode_dependent_address_pâ
/home/jbglaw/devel/sources/gcc/gcc/config/vax/vax-protos.h:24: error: previous declaration of âvax_mode_dependent_address_pâ was here
make[1]: *** [vax.o] Error 1
make[1]: Leaving directory `/home/jbglaw/devel/build-vax-linux/build-gcc-mine-for-kernel-and-glibc/gcc'
make: *** [all-gcc] Error 2

Shall those return int (as you changed the declaration to), or bool
(as the current definition returns)? I'll happily prepare a patch for
it :)

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of: 17:45 <@Eimann> Hrm, das E90 hat keinen Lebenszeit Call-Time Counter mehr
the second  : 17:46 <@jbglaw> Eimann: WofÃr braucht man das?
              17:46 <@jbglaw> Eimann: FÃr mich ist an 'nem Handy wichtig, daà ich mein
                              GegeÃber hÃren kann. Und daà mein GegenÃber mich versteht...
              17:47 <@KrisK> jbglaw: was du meinst ist wodka.
              17:47 <@KrisK> jbglaw: es klingelt und man hÃrt stimmen

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]