Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 16315 Details for
Bug 26923
GCC3.2 fails to compile source with inline assembly.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Source file trying to compile
inline.c (text/plain), 244 bytes, created by
nightelf
on 2003-08-19 06:12:24 UTC
(
hide
)
Description:
Source file trying to compile
Filename:
MIME Type:
Creator:
nightelf
Created:
2003-08-19 06:12:24 UTC
Size:
244 bytes
patch
obsolete
>#include <stdio.h> > >int main(){ > int a,b; > > printf("\nEnter two numbers: "); > scanf("%d %d",&a,&b); > __asm__ __volatile__ ( > "add %%ebx,%%eax" > : "=eax"(a) //output > : "eax"(a),"ebx"(b) //input > ); > printf("Answer = %d\n",a); > return(0); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 26923
: 16315