[Bug lto/54632] New: not supported in LTO streams : tree code ' �F ��D�� `

dimhen at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Sep 20 07:55:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54632

             Bug #: 54632
           Summary: not supported in LTO streams : tree code '�F ��D�� `
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dimhen@gmail.com


$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/dimhen/src/gcc-current/configure
--prefix=/usr/local/gcc_current --with-multilib-list=m64 --enable-__cxa_atexit
--enable-shared --enable-checking=df,fold,rtl,tree,yes
--enable-gnu-unique-object --enable-linker-build-id
--enable-languages=c,c++,lto --enable-plugin
--enable-version-specific-runtime-libs
Thread model: posix
gcc version 4.8.0 20120920 (experimental) [trunk revision 191511] (GCC) 


191461 - OK
191511 - FAIL

(gdb) start ....
Temporary breakpoint 1, main (argc=62, argv=0x7fffffffda58) at
/home/dimhen/src/gcc-current/gcc/main.c:36
36      return toplev_main (argc, argv);
(gdb) br  lto-streamer-out.c:325
(gdb) c
.......
GNU C++ (GCC) version 4.8.0 20120920 (experimental) [trunk revision 191511]
(x86_64-unknown-linux-gnu)
    compiled by GNU C version 4.8.0 20120920 (experimental) [trunk revision
191511], GMP version 5.0.2, MPFR version 3.1.0, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 1f967a1f0c91e49e73881f044e47ede6

Breakpoint 2, lto_write_tree (ref_p=<optimized out>, expr=<optimized out>,
ob=<optimized out>) at /home/dimhen/src/gcc-current/gcc/lto-streamer-out.c:326
326                    tree_code_name[TREE_CODE (expr)]);
(gdb) bt
#0  lto_write_tree (ref_p=<optimized out>, expr=<optimized out>, ob=<optimized
out>) at /home/dimhen/src/gcc-current/gcc/lto-streamer-out.c:326
#1  lto_output_tree (ob=ob@entry=0x15a03e0, expr=0x7ffff5d13dc0,
ref_p=ref_p@entry=true, this_ref_p=this_ref_p@entry=true) at
/home/dimhen/src/gcc-current/gcc/lto-streamer-out.c:426
#2  0x0000000000b8e450 in write_ts_exp_tree_pointers (ref_p=true,
expr=0x7ffff5d0ee70, ob=0x15a03e0) at
/home/dimhen/src/gcc-current/gcc/tree-streamer-out.c:672
#3  streamer_write_tree_body (ob=0x15a03e0, expr=0x7ffff5d0ee70,
ref_p=<optimized out>) at
/home/dimhen/src/gcc-current/gcc/tree-streamer-out.c:855
#4  0x000000000094919a in lto_write_tree (ref_p=<optimized out>,
expr=<optimized out>, ob=<optimized out>) at
/home/dimhen/src/gcc-current/gcc/lto-streamer-out.c:339
#5  lto_output_tree (ob=ob@entry=0x15a03e0, expr=0x7ffff5d0ee70,
ref_p=ref_p@entry=true, this_ref_p=this_ref_p@entry=true) at
/home/dimhen/src/gcc-current/gcc/lto-streamer-out.c:426
#6  0x0000000000b8dbe4 in write_ts_decl_common_tree_pointers (ref_p=true,
expr=0x7ffff5d232f8, ob=0x15a03e0) at
/home/dimhen/src/gcc-current/gcc/tree-streamer-out.c:507
#7  streamer_write_tree_body (ob=0x15a03e0, expr=0x7ffff5d232f8,
ref_p=<optimized out>) at
/home/dimhen/src/gcc-current/gcc/tree-streamer-out.c:828
#8  0x000000000094919a in lto_write_tree (ref_p=<optimized out>,
expr=<optimized out>, ob=<optimized out>) at
/home/dimhen/src/gcc-current/gcc/lto-streamer-out.c:339
#9  lto_output_tree (ob=0x15a03e0, expr=0x7ffff5d232f8, ref_p=<optimized out>,
this_ref_p=<optimized out>) at
/home/dimhen/src/gcc-current/gcc/lto-streamer-out.c:426
#10 0x00000000009498ef in output_struct_function_base (fn=0x7ffff62e8140,
ob=0x15a03e0) at /home/dimhen/src/gcc-current/gcc/lto-streamer-out.c:751
#11 output_function (node=0x7ffff62ff618) at
/home/dimhen/src/gcc-current/gcc/lto-streamer-out.c:808
#12 lto_output () at /home/dimhen/src/gcc-current/gcc/lto-streamer-out.c:1009
#13 0x000000000097e871 in ipa_write_summaries_2 (pass=0x1320ac0,
state=0x1548310) at /home/dimhen/src/gcc-current/gcc/passes.c:2291
#14 0x000000000097f6be in ipa_write_summaries_1 (encoder=<optimized out>) at
/home/dimhen/src/gcc-current/gcc/passes.c:2321
#15 ipa_write_summaries () at /home/dimhen/src/gcc-current/gcc/passes.c:2375
#16 0x000000000078385a in ipa_passes () at
/home/dimhen/src/gcc-current/gcc/cgraphunit.c:1875
#17 compile () at /home/dimhen/src/gcc-current/gcc/cgraphunit.c:1961
#18 0x0000000000783a95 in finalize_compilation_unit () at
/home/dimhen/src/gcc-current/gcc/cgraphunit.c:2089
#19 0x00000000005b032b in cp_write_global_declarations () at
/home/dimhen/src/gcc-current/gcc/cp/decl2.c:4024
#20 0x0000000000a1e385 in compile_file () at
/home/dimhen/src/gcc-current/gcc/toplev.c:560
#21 0x0000000000a1ff5a in do_compile () at
/home/dimhen/src/gcc-current/gcc/toplev.c:1863
#22 toplev_main (argc=62, argv=0x7fffffffda58) at
/home/dimhen/src/gcc-current/gcc/toplev.c:1939
#23 0x00000038e3421735 in __libc_start_main (main=0xebc6a0 <main(int, char**)>,
argc=62, ubp_av=0x7fffffffda58, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, 
    stack_end=0x7fffffffda48) at libc-start.c:226
#24 0x00000000004cb7d9 in _start ()
(gdb) up
#1  lto_output_tree (ob=ob@entry=0x15a03e0, expr=0x7ffff5d13dc0,
ref_p=ref_p@entry=true, this_ref_p=this_ref_p@entry=true) at
/home/dimhen/src/gcc-current/gcc/lto-streamer-out.c:426
426          lto_write_tree (ob, expr, ref_p);
(gdb) print *expr
....
(gdb) c
/home/dimhen/src/CSPbuild/shared/cplib/DateTime.cpp: In function
'CryptoPro::GeneralizedTimeToTm(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, unsigned int&, bool)':
Hc���8D�Hc�f;�CSPbuil`' is not supported in LTO streams internal compiler
error: tree code '�F��D��`
 } // namespace CryptoPro
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[Inferior 1 (process 9854) exited with code 04]


output from 'print *expr' attached.
almost everywhere fld 'code' = 42405, but at once = 2779096485

i'll try to reduce test



More information about the Gcc-bugs mailing list