[Bug c/92324] New: ice in expand_direct_optab_fn, at internal-fn.c:2890
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Nov 1 20:17:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92324
Bug ID: 92324
Summary: ice in expand_direct_optab_fn, at internal-fn.c:2890
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
This source code, with recent gcc trunk and compiler flag -O3,
unsigned a, b;
int c, d;
unsigned e(int f) {
if (a > f)
return a;
return f;
}
void g() {
for (; c; c++)
d = e(d);
b = d;
}
does this:
during RTL pass: expand
bug556.c: In function ‘g’:
bug556.c:8:6: internal compiler error: in expand_direct_optab_fn, at
internal-fn.c:2890
8 | void g() {
| ^
0x64ffc8 expand_direct_optab_fn
../../trunk/gcc/internal-fn.c:2890
0x936ec7 expand_call_stmt
../../trunk/gcc/cfgexpand.c:2640
0x936ec7 expand_gimple_stmt_1
../../trunk/gcc/cfgexpand.c:3710
0x936ec7 expand_gimple_stmt
../../trunk/gcc/cfgexpand.c:3875
More information about the Gcc-bugs
mailing list