https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89970
Bug ID: 89970
Summary: [8/9 Regression] ICE in dispatch_function_versions, at
config/i386/i386.c:32347
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Target Milestone: ---
Started with gcc-8 (before 20180525) :
$ cat z1.c
__attribute__((target_clones ("default", "default")))
void f () {}
$ gcc-7 -c z1.c
$
$ gcc-9-20190331 -c z1.c
during IPA pass: targetclone
z1.c: In function 'f.resolver':
z1.c:2:1: internal compiler error: in dispatch_function_versions, at
config/i386/i386.c:32347
2 | void f () {}
| ^~~~
0xd32d02 dispatch_function_versions
../../gcc/config/i386/i386.c:32347
0xd32d02 ix86_generate_version_dispatcher_body
../../gcc/config/i386/i386.c:32714
0x1219c66 create_dispatcher_calls
../../gcc/multiple_target.c:97
0x1219c66 ipa_target_clone
../../gcc/multiple_target.c:509
0x1219c66 execute
../../gcc/multiple_target.c:541