projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use be_put_ignore_regs() instead of duplicating its logic.
[libfirm]
/
ir
/
be
/
test
/
fehler062.c
1
#include <stdlib.h>
2
#include <stdio.h>
3
#include <assert.h>
4
5
typedef struct linked {
6
struct linked *next;
7
} linked;
8
9
linked* t(linked *val) {
10
printf("start\n");
11
12
if(val == NULL)
13
return NULL;
14
15
void *res = t(val->next);
16
if(res)
17
return res;
18
return val;
19
}
20
21
int main()
22
{
23
linked a, b, c;
24
a.next = &b;
25
b.next = &c;
26
c.next = NULL;
27
t(&a);
28
return 0;
29
}