revised #pragma push_macro feature

Rafael Espindola espindola@google.com
Fri Mar 30 22:42:00 GMT 2007


On 3/30/07, Richard Henderson <rth@redhat.com> wrote:
> I've rearranged and committed the push_macro feature.
>
> Notable changes: hash table for the pushed macros, rather
> than searching a single linked list.  Support from libcpp
> to save/restore a pre-parsed cpp_macro structure, rather
> than pushing this through the lexer again.
>
I think that this patch broke bootstrap on i686:

/usr/local/google/home/espindola/20/gcc/build/./prev-gcc/xgcc
-B/usr/local/google/home/espindola/20/gcc/build/./prev-gcc/
-B/usr/local/i686-pc-linux-gnu/bin/  -I../../trunk/libcpp -I.
-I../../trunk/libcpp/../include -I../../trunk/libcpp/include  -O2 -g
-fomit-frame-pointer -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-pedantic -Wno-long-long -Werror -I../../trunk/libcpp -I.
-I../../trunk/libcpp/../include -I../../trunk/libcpp/include  -c -o
directives.o -MT directives.o -MMD -MP -MF .deps/directives.Po
../../trunk/libcpp/directives.c
cc1: warnings being treated as errors
../../trunk/libcpp/directives.c: In function 'lex_macro_node_from_str':
../../trunk/libcpp/directives.c:2086: error: pointer targets in
initialization differ in signedness
make[3]: *** [directives.o] Error 1

Cheers,
Rafael



More information about the Gcc-patches mailing list