On 5/16/25 11:22 AM, Richard Sandiford wrote:
gen_exp had code to handle the 'L' operand format.  But this format
is specifically for location_ts, which are only used in RTX_INSNs.
Those should never occur in this context, where the input is always
an md file rather than an __RTL function.  Any hard-coded raw
location value would be meaningless anyway.

It seemed safer to turn this into an error rather than a gcc_unreachable.

gcc/
        * genemit.cc (generator::gen_exp): Raise an error if we see
        an 'L' operand.
OK
jeff

Reply via email to