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

Reply via email to