https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53929
--- Comment #26 from LIU Hao <lh_mouse at 126 dot com> --- Created attachment 57199 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57199&action=edit Draft patch Ver. 2 1. Fix a typo in `ASM_OUTPUT_SYMBOL_REF` (`x` => `SYM`) 2. For Intel syntax, if the name does not start with a `*`, then it is taken as a symbol, and is quoted. 3. If the name starts with a `*`, then it is a request for verbatim output. According to comments in 'dwarf2cfi.cc' which say 'dwarf2out.cc might give us a label expression (e.g. .LVL548-1) as second argument. If so, make it a subexpression, ... ' so the name may be a combined expression. In this case parse it for `+` or `-` where the symbol stops, then quote the symbol and print the remaining part verbatim.