Re: [PATCH] analyzer: Fix ICE on MD builtin [PR101721]

2021-08-03 Thread Richard Biener via Gcc-patches
On Tue, Aug 3, 2021 at 9:11 AM Jakub Jelinek via Gcc-patches wrote: > > Hi! > > The following testcase ICEs because DECL_FUNCTION_CODE asserts the builtin > is BUILT_IN_NORMAL, but it sees a backend (MD) builtin instead. > The FE, normal and MD builtin numbers overlap, so one should always > check

[PATCH] analyzer: Fix ICE on MD builtin [PR101721]

2021-08-03 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs because DECL_FUNCTION_CODE asserts the builtin is BUILT_IN_NORMAL, but it sees a backend (MD) builtin instead. The FE, normal and MD builtin numbers overlap, so one should always check what kind of builtin it is before looking at specific codes. Fixed thusly, boots