https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80763
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
This is introduced by r236012 with a different ICE:
pr80763.cc:27:14: internal compiler error: in inline_small_functions, at
ipa-inline.c:1881
void n::o() {}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
r236271 changed ICE to
pr80763.cc:27:14: error: inline clone in same comdat group list
void n::o() {}
^
_ZThn8_N1n1fEjjjj.artificial_thunk.2/42 (<built-in>) @0x7f2be1015e60
Type: function definition analyzed
Visibility: comdat_group:_ZN1iI1lE1dEjj artificial
Same comdat group as: _ZN1iI1lE1dEjj/25
References:
Referring:
Function <built-in>/42 is inline copy in unsigned int i<e>::d(unsigned int,
unsigned int) [with e = l]/25
Availability: local
First run: 0
Function flags: local nonfreeing_fn
Thunk fixed offset -8 virtual value 0 has virtual offset 0)
Called by: _ZN1iI1lE1dEjj.part.0/35 (speculative) (inlined) (0.31 per call)
(can throw external)
Calls: _ZN1n1fEjjjj.constprop.1/41 (call_stmt_cannot_inline_p) (0.31 per
call)
pr80763.cc:27:14: internal compiler error: verify_cgraph_node failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gnu-ivb-1:pts/1[63]> ./gcc-test-run 236267
Testing /export/gnu/import/git/gcc-regression/master/236267/usr/bin/gcc:
pr80763.cc:27:14: internal compiler error: in inline_small_functions, at
ipa-inline.c:1881
void n::o() {}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.