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

            Bug ID: 90500
           Summary: ICE error in copy_forbiden
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: crazylht at gmail dot com
  Target Milestone: ---

Created attachment 46364
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46364&action=edit
testcase

backtrace:                                                                      

#0  copy_forbidden (fun=0x0) at ../../gcc-trunk_base/gcc/tree-inline.c:3695
#1  tree_versionable_function_p (fndecl=0x7ffff5c11e00) at
../../gcc-trunk_base/gcc/tree-inline.c:5846
#2  0x00000000015a507b in expand_target_clones (definition=true,
node=0x7ffff5c149d8) at ../../gcc-trunk_base/gcc/multiple_target.c:359
#3  ipa_target_clone () at ../../gcc-trunk_base/gcc/multiple_target.c:516
#4  (anonymous namespace)::pass_target_clone::execute (this=<optimized out>) at
../../gcc-trunk_base/gcc/multiple_target.c:552
#5  0x0000000000b2b75a in execute_one_pass (pass=pass@entry=0x21d8dd0) at
../../gcc-trunk_base/gcc/passes.c:2473
#6  0x0000000000b2c7c2 in execute_ipa_pass_list (pass=0x21d8dd0) at
../../gcc-trunk_base/gcc/passes.c:2913
#7  0x000000000079cc2e in ipa_passes () at
../../gcc-trunk_base/gcc/cgraphunit.c:2484
#8  symbol_table::compile (this=this@entry=0x7ffff5dd9100) at
../../gcc-trunk_base/gcc/cgraphunit.c:2620
#9  0x000000000079fa77 in symbol_table::compile (this=0x7ffff5dd9100) at
../../gcc-trunk_base/gcc/cgraphunit.c:2868
#10 symbol_table::finalize_compilation_unit (this=0x7ffff5dd9100) at
../../gcc-trunk_base/gcc/cgraphunit.c:2865
#11 0x0000000000c1a1d4 in compile_file () at
../../gcc-trunk_base/gcc/toplev.c:481
#12 0x00000000005cb5c6 in do_compile () at
../../gcc-trunk_base/gcc/toplev.c:2205
#13 toplev::main (this=this@entry=0x7fffffffd8b6, argc=<optimized out>,
argc@entry=31, argv=<optimized out>, argv@entry=0x7fffffffd9b8) at
../../gcc-trunk_base/gcc/toplev.c:2340
#14 0x00000000005cf13b in main (argc=31, argv=0x7fffffffd9b8) at
../../gcc-trunk_base/gcc/main.c:39

Reply via email to