Bug ID: 85329
           Summary: [8 Regression] ICE in add_to_same_comdat_group, at
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot
          Reporter: doko at gcc dot
  Target Milestone: ---

seen with r259224 on the trunk, x86 architectures, building the i2pd package:

$ cat Crypto.ii
class b {
  __attribute__((target("aes"))) b() {}
  __attribute__((target("default"))) b() {}
class c {
  b d;
void fn1() { c a; }
__attribute__((target_clones("sse", "default"))) void e() {}

$ g++ -std=c++11 -c -O0 -fPIE -Wall Crypto.ii 
during IPA pass: targetclone
Crypto.ii:10:60: internal compiler error: in add_to_same_comdat_group, at
 __attribute__((target_clones("sse", "default"))) void e() {}
0x59d301 symtab_node::add_to_same_comdat_group(symtab_node*)
0x12bbbc8 create_dispatcher_calls
0x12bbbc8 ipa_target_clone
0x12bbbc8 execute
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to