[Bug sanitizer/105235] [11/12 Regression] ICE: in redirect_eh_edge_1, at tree-eh.cc:2323 with custom flags since r11-4519-g53dede0f04bd95c3

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 12 08:06:37 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105235

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Zdenek Sojka from comment #1)
> 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.

Testing a patch for this


More information about the Gcc-bugs mailing list