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]

Re: revised #pragma push_macro feature


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


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