https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104925
Bug ID: 104925 Summary: [nvptx] Use "%" as register prefix Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- In the ptx isa doc I read: ... PTX allows the percentage sign as the first character of an identifier. The percentage sign can be used to avoid name conflicts, e.g., between user- defined variable names and compiler-generated names. ... I've been using variable names for for instance temporary variables in various insn patterns without percentage signs, so there's the potential for a clash with user-defined names. This should be fixed by prefixing with '%'.