[Bug other/110669] [14 regression] ICE in gcc.dg/torture/pr105132.c since r14-2515-gb77161e60bce7b
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jul 14 18:14:35 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110669
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Reduced C code seems to be:
int g_29, func_47_p_48, func_47_p_51_l_129;
void func_47_p_51() {
for (;;) {
func_47_p_51_l_129 = 0;
for (; func_47_p_51_l_129 <= 1; func_47_p_51_l_129 += 1) {
short *l_160 = func_47_p_48 || *l_160;
*l_160 &= g_29;
}
}
}
$ ~/gcc/results/bin/gcc -c -Ofast bug942.c
bug942.c: In function ‘func_47_p_51’:
bug942.c:6:22: warning: initialization of ‘short int *’ from ‘int’ makes
pointer from integer without a cast [-Wint-conversion]
6 | short *l_160 = func_47_p_48 || *l_160;
| ^~~~~~~~~~~~
during GIMPLE pass: sccp
bug942.c:2:6: internal compiler error: in gimple_phi_arg_def_from_edge, at
gimple.h:4699
2 | void func_47_p_51() {
| ^~~~~~~~~~~~
0xf4f20f final_value_replacement_loop(loop*)
../../trunk.year/gcc/tree-scalar-evolution.cc:0
More information about the Gcc-bugs
mailing list