On Fri, 2014-11-14 01:37:14 +0100, Jan Hubicka <hubi...@ucw.cz> wrote:
> Hi,
> here is upated version with bitfields and also tested on PPC64-linux/aix.
> I hacked configury to use system awk instead of gawk, so the changes are 
> hopefully safe.
> 
> OK?
> Honza
> 
>       * optc-save-gen.awk: Output cl_target_option_eq,
>       cl_target_option_hash, cl_target_option_stream_out,
>       cl_target_option_stream_in functions.
>       * opth-gen.awk: Output prototypes for
>       cl_target_option_eq and cl_target_option_hash.
>       * lto-streamer.h (cl_target_option_stream_out,
>       cl_target_option_stream_in): Declare.
>       * tree.c (cl_option_hash_hash): Use cl_target_option_hash.
>       (cl_option_hash_eq): Use cl_target_option_eq.
>       * tree-streamer-in.c (unpack_value_fields): Stream in
>       TREE_TARGET_OPTION.
>       * lto-streamer-out.c (DFS::DFS_write_tree_body): Follow
>       DECL_FUNCTION_SPECIFIC_TARGET.
>       (hash_tree): Hash TREE_TARGET_OPTION; visit
>       DECL_FUNCTION_SPECIFIC_TARGET.
>       * tree-streamer-out.c (streamer_pack_tree_bitfields): Skip
>       TS_TARGET_OPTION.
>       (streamer_write_tree_body): Output TS_TARGET_OPTION.

Breaks build:

g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions 
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings 
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic 
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  
-DHAVE_CONFIG_H -I. -I. -I/home/jbglaw/repos/gcc/gcc 
-I/home/jbglaw/repos/gcc/gcc/. -I/home/jbglaw/repos/gcc/gcc/../include 
-I/home/jbglaw/repos/gcc/gcc/../libcpp/include  
-I/home/jbglaw/repos/gcc/gcc/../libdecnumber 
-I/home/jbglaw/repos/gcc/gcc/../libdecnumber/dpd -I../libdecnumber 
-I/home/jbglaw/repos/gcc/gcc/../libbacktrace    -o tree-streamer-in.o -MT 
tree-streamer-in.o -MMD -MP -MF ./.deps/tree-streamer-in.TPo 
/home/jbglaw/repos/gcc/gcc/tree-streamer-in.c
/home/jbglaw/repos/gcc/gcc/tree-streamer-in.c: In function ‘void 
unpack_value_fields(data_in*, bitpack_d*, tree)’:
/home/jbglaw/repos/gcc/gcc/tree-streamer-in.c:527:180: error: 
‘cl_target_option_stream_in’ was not declared in this scope
make[1]: *** [tree-streamer-in.o] Error 1


See eg. these builds:

http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=376049
http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=376050
http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=376051

MfG, JBG

-- 
      Jan-Benedict Glaw      jbg...@lug-owl.de              +49-172-7608481
Signature of:              What we do for ourselves dies with us. What we do for
the second  :         others and the world remains and is immortal. (Albert 
Pine)

Attachment: signature.asc
Description: Digital signature

Reply via email to