[PATCH,rs6000] don't overalign strings when optimizing for size

Dominique Dhumieres dominiq@lps.ens.fr
Sun Feb 24 01:06:00 GMT 2008


I have the following bootstrap failure on powerpc-apple-darwin9:

...
gcc -c   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -fno-common   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.4-work/gcc -I../../gcc-4.4-work/gcc/. -I../../gcc-4.4-work/gcc/../include -I../../gcc-4.4-work/gcc/../libcpp/include -I/sw/include  -I../../gcc-4.4-work/gcc/../libdecnumber -I../../gcc-4.4-work/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.4-work/gcc/builtins.c -o builtins.o
../../gcc-4.4-work/gcc/builtins.c: In function 'get_pointer_alignment':
../../gcc-4.4-work/gcc/builtins.c:355: error: 'TARGET_STRICT_ALIGN' undeclared (first use in this function)
../../gcc-4.4-work/gcc/builtins.c:355: error: (Each undeclared identifier is reported only once
../../gcc-4.4-work/gcc/builtins.c:355: error: for each function it appears in.)
make[3]: *** [builtins.o] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

The error on 'TARGET_STRICT_ALIGN' makes me think that it is
related to this patch.

Dominique



More information about the Gcc-patches mailing list