https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65233

Matthias Klose <doko at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|arm-linux-gnueabihf         |arm-linux-gnueabihf,
                   |                            |aarch64-linux-gnu
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |---
            Summary|[5 Regression] ICE          |[5 Regression] ICE
                   |(segfault) on               |(segfault) on
                   |arm-linux-gnueabihf         |arm-linux-gnueabihf and
                   |                            |aarch64-linux-gnu
     Ever confirmed|1                           |0

--- Comment #9 from Matthias Klose <doko at gcc dot gnu.org> ---
$ g++ -c -g -O3 -fPIC track_aarch64.ii track_aarch64.ii: In member function
'void Track::prep_record_enabled(bool, void*)':
track_aarch64.ii:15:15: internal compiler error: Segmentation fault
          void Track::prep_record_enabled ( bool p1, void *) {         if (
&_route_group )     _ro
               ^
Please submit a full bug report,
with preprocessed source if appropriate.

seen on aarch64-linux-gnu too, but with a slightly different reduced test case.
r221076

(gdb) bt
#0  0x0000000000bfb5a0 in integer_zerop(tree_node const*) ()
#1  0x00000000008c1c90 in walk_ssa_copies(tree_node*, hash_set<tree_node*,
default_hashset_traits>**) ()
#2  0x00000000008c2ef4 in
ipa_polymorphic_call_context::ipa_polymorphic_call_context(tree_node*,
tree_node*, gimple_statement_base*, tree_node**) ()
#3  0x0000000000852d54 in fold_stmt_1(gimple_stmt_iterator*, bool, tree_node*
(*)(tree_node*)) ()
#4  0x0000000000a5c510 in replace_uses_by(tree_node*, tree_node*) ()
#5  0x0000000000a5cb24 in gimple_merge_blocks(basic_block_def*,
basic_block_def*) ()
#6  0x000000000073c720 in merge_blocks(basic_block_def*, basic_block_def*) ()
#7  0x0000000000a63d0c in cleanup_tree_cfg_bb(basic_block_def*) ()
#8  0x0000000000a64470 in cleanup_tree_cfg() ()
#9  0x000000000098a8dc in execute_function_todo(function*, void*) ()
#10 0x000000000098b088 in execute_todo(unsigned int) ()
#11 0x000000000098d52c in execute_one_pass(opt_pass*) ()
#12 0x000000000098d88c in execute_pass_list_1(opt_pass*) [clone .constprop.62]
()
#13 0x000000000098d8a0 in execute_pass_list_1(opt_pass*) [clone .constprop.62]
()
#14 0x000000000098d8f0 in execute_pass_list(function*, opt_pass*) ()
#15 0x000000000075eed4 in cgraph_node::expand() ()
#16 0x00000000007612f0 in symbol_table::compile() [clone .part.42] ()
#17 0x0000000000761610 in symbol_table::finalize_compilation_unit() ()
#18 0x0000000000603c0c in cp_write_global_declarations() ()
#19 0x0000000000a3020c in compile_file() ()
#20 0x0000000000595d10 in toplev::main(int, char**) ()
#21 0x00000000005965e4 in main ()

Reply via email to