projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new cp_error040: Input of asm node becomes a NULL pointer
[cparser]
/
parsetest
/
cp_error040.c
diff --git
a/parsetest/cp_error040.c
b/parsetest/cp_error040.c
index
37aa285
..
9f134e6
100644
(file)
--- a/
parsetest/cp_error040.c
+++ b/
parsetest/cp_error040.c
@@
-1,5
+1,10
@@
-extern int a; // this should reference an "a" defined in another file
-static int a;
+long lrint (double x)
+{
+ long retval;
+ __asm__ __volatile__
+ ("fistpl %0" : "=m" (retval) : "t" (x) : "st");
+ return retval;
+}
int main(void)
{