Re: [PATCH] cgraphunit: Don't emit asm thunks for -dx [PR106261]

2022-07-27 Thread Richard Biener via Gcc-patches
On Wed, 27 Jul 2022, Jakub Jelinek wrote: > Hi! > > When -dx option is used (didn't know we have it and no idea what is it > useful for), we just expand functions to RTL and then omit all further > RTL passes, so the normal functions aren't actually emitted into assembly, > just variables. > The

[PATCH] cgraphunit: Don't emit asm thunks for -dx [PR106261]

2022-07-27 Thread Jakub Jelinek via Gcc-patches
Hi! When -dx option is used (didn't know we have it and no idea what is it useful for), we just expand functions to RTL and then omit all further RTL passes, so the normal functions aren't actually emitted into assembly, just variables. The following testcase ICEs, because we don't emit the method