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

            Bug ID: 84722
           Summary: [8 Regression] ICE in create_dispatcher_calls, at
                    multiple_target.c:147
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Changed between 20170618 and 20170716 (on x86_64/linux) :


$ cat z1.c
__attribute__((target_clones("avx","arch=core-avx2","default")))
int foo (int i)
{
  return i+1;
}
int weaks (int i) __attribute__((weak, alias("foo")));


$ gcc-8-20170618 -c z1.c
$
$ gcc-8-20180304 -c z1.c
during IPA pass: targetclone
z1.c:6:1: internal compiler error: in create_dispatcher_calls, at
multiple_target.c:147
 int weaks (int i) __attribute__((weak, alias("foo")));
 ^~~
0x11d66f9 create_dispatcher_calls
        ../../gcc/multiple_target.c:147
0x11d66f9 ipa_target_clone
        ../../gcc/multiple_target.c:408
0x11d66f9 execute
        ../../gcc/multiple_target.c:437

Reply via email to