public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hp at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug regression/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c Date: Tue, 06 Mar 2012 22:19:00 -0000 [thread overview] Message-ID: <bug-52515-4-7RoDtLbQbm@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-52515-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52515 --- Comment #2 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-03-06 22:19:03 UTC --- It's obviously the change in how/when cc0 is created: (gdb) r -O2 -fpreprocessed unwind-dw2.i Starting program: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/cc1 -O2 -fpreprocessed unwind-dw2.i size_of_encoded_value base_of_encoded_value read_uleb128 read_sleb128 read_encoded_value_with_base read_encoded_value g et_cie next_fde last_fde __gthread_active_p __gthread_once __gthread_key_create __gthread_key_delete __gthread_getspecif ic __gthread_setspecific __gthread_mutex_destroy __gthread_mutex_lock __gthread_mutex_trylock __gthread_mutex_unlock __g thread_recursive_mutex_lock __gthread_recursive_mutex_trylock __gthread_recursive_mutex_unlock _Unwind_Get_Unwind_Word _ Unwind_Get_Unwind_Context_Reg_Val read_pointer read_1u read_1s read_2u read_2s read_4u read_4s read_8u read_8s _Unwind_I sSignalFrame _Unwind_SetSignalFrame _Unwind_IsExtendedContext _Unwind_GetGR _Unwind_GetPtr _Unwind_GetCFA _Unwind_SetGR _Unwind_GetGRPtr _Unwind_SetGRPtr _Unwind_SetGRValue _Unwind_GRByValue _Unwind_GetIP _Unwind_GetIPInfo _Unwind_SetIP _Unwind_GetLanguageSpecificData _Unwind_GetRegionStart _Unwind_FindEnclosingFunction _Unwind_GetDataRelBase _Unwind_GetTextRelBase extract_cie_info execute_stack_op execute_cfa_program uw_frame_state_for __frame_state_for _Unwind_SetSpColumn uw_update_context_1 uw_update_context uw_advance_context init_dwarf_reg_size_table uw_init_context_1 _Unwind_DebugHook uw_install_context_1 uw_identify_context _Unwind_RaiseException_Phase2 _Unwind_RaiseException _Unwind_ForcedUnwind_Phase2 _Unwind_ForcedUnwind _Unwind_Resume _Unwind_Resume_or_Rethrow _Unwind_DeleteException _Unwind_Backtrace Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> <visibility> <early_local_cleanups> <emutls> <whole-program> <profile_estimate> <cp> <inline> <pure-const> <static-var>Assembling functions: read_sleb128 read_encoded_value_with_base base_of_encoded_value execute_stack_op execute_cfa_program {GC 5333k -> 2776k} Program received signal SIGSEGV, Segmentation fault. 0x0000000000a45611 in for_each_rtx_1 (exp=0x7ffff7dc90b8, n=1769435949, f=0x9452f5 <returnjump_p_1>, data=0x0) at /tmp/hpautotest-gcc1/gcc/gcc/rtlanal.c:2837 2837 for (; format[n] != '\0'; n++) Missing separate debuginfos, use: debuginfo-install glibc-2.11.1-1.x86_64 (gdb) bt #0 0x0000000000a45611 in for_each_rtx_1 (exp=0x7ffff7dc90b8, n=1769435949, f=0x9452f5 <returnjump_p_1>, data=0x0) at /tmp/hpautotest-gcc1/gcc/gcc/rtlanal.c:2837 #1 0x0000000000a454f6 in for_each_rtx_1 (exp=0x7ffff7da76c0, n=0, f=0x9452f5 <returnjump_p_1>, data=0x0) at /tmp/hpautotest-gcc1/gcc/gcc/rtlanal.c:2859 #2 0x0000000000a456c1 in for_each_rtx (x=0x7ffff7befed8, f=0x9452f5 <returnjump_p_1>, data=0x0) at /tmp/hpautotest-gcc1/gcc/gcc/rtlanal.c:2940 #3 0x00000000009453c8 in returnjump_p (insn=0x7ffff7befeb0) at /tmp/hpautotest-gcc1/gcc/gcc/jump.c:935 #4 0x0000000000622f5f in purge_dead_edges (bb=0x7ffff7c3d958) at /tmp/hpautotest-gcc1/gcc/gcc/cfgrtl.c:2326 #5 0x0000000000e37ab3 in find_bb_boundaries (bb=0x7ffff7c3d958) at /tmp/hpautotest-gcc1/gcc/gcc/cfgbuild.c:529 #6 0x0000000000e37e95 in find_many_sub_basic_blocks (blocks=0x15a7640) at /tmp/hpautotest-gcc1/gcc/gcc/cfgbuild.c:594 #7 0x000000000060af69 in gimple_expand_cfg () at /tmp/hpautotest-gcc1/gcc/gcc/cfgexpand.c:4609 #8 0x00000000009c1167 in execute_one_pass (pass=0x142d6e0) at /tmp/hpautotest-gcc1/gcc/gcc/passes.c:2084 #9 0x00000000009c1355 in execute_pass_list (pass=0x142d6e0) at /tmp/hpautotest-gcc1/gcc/gcc/passes.c:2139 #10 0x0000000000b3ef14 in tree_rest_of_compilation (fndecl=0x7ffff7f8c800) at /tmp/hpautotest-gcc1/gcc/gcc/tree-optimize.c:422 #11 0x00000000006381d7 in cgraph_expand_function (node=0x7ffff7f8ad80) at /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1837 #12 0x00000000006383a2 in cgraph_expand_all_functions () at /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1904 #13 0x0000000000638ee8 in cgraph_optimize () at /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:2218 #14 0x0000000000635e76 in cgraph_finalize_compilation_unit () at /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1344 #15 0x0000000000496735 in c_write_global_declarations () at /tmp/hpautotest-gcc1/gcc/gcc/c-decl.c:10032 #16 0x0000000000a88f16 in compile_file () at /tmp/hpautotest-gcc1/gcc/gcc/toplev.c:573 #17 0x0000000000a8b27a in do_compile () at /tmp/hpautotest-gcc1/gcc/gcc/toplev.c:1937 #18 0x0000000000a8b3f1 in toplev_main (argc=4, argv=0x7fffffffe128) at /tmp/hpautotest-gcc1/gcc/gcc/toplev.c:2013 #19 0x0000000000566300 in main (argc=4, argv=0x7fffffffe128) at /tmp/hpautotest-gcc1/gcc/gcc/main.c:36 (gdb) p format $1 = 0x10ab22c "=*3,r" (gdb) p exp $2 = (rtx) 0x7ffff7dc90b8 (gdb) pr (??? bad code 42405 ) (gdb) up #1 0x0000000000a454f6 in for_each_rtx_1 (exp=0x7ffff7da76c0, n=0, f=0x9452f5 <returnjump_p_1>, data=0x0) at /tmp/hpautotest-gcc1/gcc/gcc/rtlanal.c:2859 2859 result = for_each_rtx_1 (*x, i, f, data); (gdb) p exp $3 = (rtx) 0x7ffff7da76c0 (gdb) pr (set (??? bad code 42405 ) (if_then_else (ltu (??? bad code 42405 ) (const_int 0 [0])) (label_ref 100) (??? bad code 42405 )))
next prev parent reply other threads:[~2012-03-06 22:19 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-03-06 21:38 [Bug regression/52515] New: " hp at gcc dot gnu.org 2012-03-06 21:42 ` [Bug regression/52515] " pinskia at gcc dot gnu.org 2012-03-06 22:19 ` hp at gcc dot gnu.org [this message] 2012-03-06 22:36 ` [Bug middle-end/52515] " hp at gcc dot gnu.org 2012-03-06 22:38 ` [Bug middle-end/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c, x86_64-unknown-linux-gnu in bid_binarydecimal.c hp at gcc dot gnu.org 2012-03-07 9:36 ` rsandifo at gcc dot gnu.org 2012-03-07 9:53 ` rsandifo at gcc dot gnu.org 2012-03-07 9:56 ` rsandifo at gcc dot gnu.org 2012-03-07 22:12 ` vries at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-52515-4-7RoDtLbQbm@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).