public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/107731] New: error: invalid 'asm': invalid use of '%c'
@ 2022-11-17  6:45 chenglulu at loongson dot cn
  2022-11-17  7:38 ` [Bug target/107731] loongarch Operand Modifiers are not documented pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: chenglulu at loongson dot cn @ 2022-11-17  6:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107731

            Bug ID: 107731
           Summary: error: invalid 'asm': invalid use of '%c'
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chenglulu at loongson dot cn
                CC: paulhua at gcc dot gnu.org, xry111 at gcc dot gnu.org
  Target Milestone: ---
            Target: loongarch64-linux-gnu

void
test(void)
{
  asm (".long %c0"
       ::"i"(10));
}
Compiling this test case under loongarch64 failed with the following
information:

test1.c: In function 'test':
test1.c:3:3: error: invalid 'asm': invalid use of '%c'
    3 |   asm (".long %c0"
      |   ^~~

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-01-24  5:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-17  6:45 [Bug target/107731] New: error: invalid 'asm': invalid use of '%c' chenglulu at loongson dot cn
2022-11-17  7:38 ` [Bug target/107731] loongarch Operand Modifiers are not documented pinskia at gcc dot gnu.org
2022-11-17  7:40 ` xry111 at gcc dot gnu.org
2022-11-17  7:41 ` pinskia at gcc dot gnu.org
2022-11-17  7:44 ` pinskia at gcc dot gnu.org
2022-11-17  7:47 ` xry111 at gcc dot gnu.org
2022-11-17  7:50 ` chenglulu at loongson dot cn
2022-11-17  7:54 ` chenglulu at loongson dot cn
2023-01-24  4:56 ` cvs-commit at gcc dot gnu.org
2023-01-24  5:00 ` chenglulu at loongson dot cn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).