https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61336
--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> --- You're absolutely right it shouldn't ICE. The proper solution to anything we can't handle here should result in a call to output_operand_lossage, which produces a graceful error when applied to an asm. As for whether that symbol should have been split, or whether we should just go ahead and allow this case for asms... I don't currently have a good answer. I'll try to have a closer look soon.