public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/44527]  New: improve diagnostics in inline assembly
@ 2010-06-13 16:44 manu at gcc dot gnu dot org
  2010-06-13 16:47 ` [Bug inline-asm/44527] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-06-13 16:44 UTC (permalink / raw)
  To: gcc-bugs

Testcase:

int foo(int X) {
 __asm__ ("frob    %0" : "+r" (X));
 return X;
}

gcc-4.6:

/var/folders/51/51Qw875vFdGa9KojoIi7Zk+++TM/-Tmp-//ccyXfgfZ.s:11:no such
instruction: `frob %eax'

clang:

<inline asm>:1:2: error: unrecognized instruction
        frob    %eax
        ^
t.c:2:11: note: generated from here
 __asm__ ("frob    %0" : "+r" (X));
          ^
1 error generated.


-- 
           Summary: improve diagnostics in inline assembly
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: manu at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44527


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

end of thread, other threads:[~2010-06-13 17:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-13 16:44 [Bug c/44527] New: improve diagnostics in inline assembly manu at gcc dot gnu dot org
2010-06-13 16:47 ` [Bug inline-asm/44527] " pinskia at gcc dot gnu dot org
2010-06-13 16:48 ` pinskia at gcc dot gnu dot org
2010-06-13 16:49 ` pinskia at gcc dot gnu dot org
2010-06-13 16:59 ` manu at gcc dot gnu dot org
2010-06-13 17:18 ` pinskia at gcc dot gnu dot org
2010-06-13 17:30 ` manu at gcc dot gnu dot org

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).