Re: [PATCH] cgraph: Adjust verify_corresponds_to_fndecl [PR106061]

2023-01-27 Thread Richard Biener via Gcc-patches
On Fri, 27 Jan 2023, Jakub Jelinek wrote: > Hi! > > IPA passes redirect some calls in what it determines to be unreachable code > to builtin_decl_unreachable. But that function returns sometimes > builtin_decl_explicit (BUILT_IN_UNREACHABLE) (which was what GCC 12 > and earlier did always), or b

[PATCH] cgraph: Adjust verify_corresponds_to_fndecl [PR106061]

2023-01-27 Thread Jakub Jelinek via Gcc-patches
Hi! IPA passes redirect some calls in what it determines to be unreachable code to builtin_decl_unreachable. But that function returns sometimes builtin_decl_explicit (BUILT_IN_UNREACHABLE) (which was what GCC 12 and earlier did always), or builtin_decl_explicit (BUILT_IN_TRAP) (e.g. for -funreac