Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20140606115525

Diff

Diff from 1.1 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc-tests/regress/jira/PCC-178.c

Annotated File View

plunky
1.1
1 /*
2  * PCC-178
3  * register miscounting on i386?
4  */
5
6 static inline unsigned short __ntohs (unsigned short x)
7 {
8         __asm__ ("xchgb %b0, %h0"
9         : "=q" (x) : "0" (x));
10         return (x);
11 }
12
13 struct a {
14         struct a *nxt;
15 };
16
17 extern struct a *new(void);
18
19 void
20 foo(unsigned short p)
21 {
22         struct a *ab;
23
24         a = &b;
25         a->nxt = new();
26
27         p = __ntohs(p);
28 }
29
30 int main(int argcchar *argv[]) { return 0; }
31
32 struct a *new(void) { return 0; }
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-08-27 18:59 +0200