On Wed, Jun 04, 2025 at 05:02:45PM +0200, Stefan Schulze Frielinghaus wrote: > Building a subreg in case of > > else if (GET_CODE (x) == CONST) > { > /* Extract the symbol ref from: > (mem:QI (const:DI (unspec:DI [(symbol_ref:DI ("foo"))] > UNSPEC_PLT/GOTENT))) */
Shouldn't that have one extra MEM somewhere? If needs to read a DImode pointer from PLT/GOT which is a pointer to .text where the mem:QI serves as dereference of the first byte of the code? Jakub