https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118825
Bug ID: 118825
Summary: Typo in ASM_OUTPUT_SYMBOL_REF
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
CC: ubizjak at gmail dot com
Target Milestone: ---
Target: x86
ASM_OUTPUT_SYMBOL_REF in config/i386/i386.h has
#define ASM_OUTPUT_SYMBOL_REF(FILE, SYM) \
do { \
const char *name \
= assemble_name_resolve (XSTR (x, 0)); \
x is not a macro argument.
/* In -masm=att wrap identifiers that start with $ \
into parens. */ \
if (ASSEMBLER_DIALECT == ASM_ATT \
&& name[0] == '$' \
&& user_label_prefix[0] == '\0') \
{ \
fputc ('(', (FILE)); \
assemble_name_raw ((FILE), name); \
fputc (')', (FILE)); \
} \
else \
assemble_name_raw ((FILE), name); \
} while (0)