[Bug sanitizer/105235] [12 Regression] ICE: in redirect_eh_edge_1, at tree-eh.cc:2323 with custom flags
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Tue Apr 12 04:07:20 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105235
--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> ---
A slightly different testcase fails elsewhere:
$ cat testcase.c
int i, j;
void
foo (double d)
{
i = __builtin_ilogbl (d);
j = __builtin_sinl (d);
}
$ x86_64-pc-linux-gnu-gcc -O -fno-tree-dominator-opts -fnon-call-exceptions
-fsanitize=thread -fno-tree-fre testcase.c
testcase.c: In function 'foo':
testcase.c:4:1: error: BB 3 cannot throw but has an EH edge
4 | foo (double d)
| ^~~
during GIMPLE pass: sincos
testcase.c:4:1: internal compiler error: verify_flow_info failed
0xe7c00e verify_flow_info()
/repo/gcc-trunk/gcc/cfghooks.cc:284
0x128704a execute_function_todo
/repo/gcc-trunk/gcc/passes.cc:2097
0x128755e execute_todo
/repo/gcc-trunk/gcc/passes.cc:2139
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
More information about the Gcc-bugs
mailing list