projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e4dc390
)
new fehler33.c
author
Matthias Braun
<matze@braunis.de>
Fri, 29 Jun 2007 15:42:27 +0000
(15:42 +0000)
committer
Matthias Braun
<matze@braunis.de>
Fri, 29 Jun 2007 15:42:27 +0000
(15:42 +0000)
[r14849]
ir/be/test/fehler33.c
[new file with mode: 0644]
patch
|
blob
diff --git a/ir/be/test/fehler33.c
b/ir/be/test/fehler33.c
new file mode 100644
(file)
index 0000000..
4d67d6c
--- /dev/null
+++ b/
ir/be/test/fehler33.c
@@ -0,0
+1,15
@@
+/* tailrec optimisation failing on struct parameters */
+
+typedef struct {
+ int a, b, c;
+} stru;
+
+void f(int a, const stru x) {
+ if(a == 100)
+ return;
+ f(a+1, x);
+}
+
+int main() {
+ return 0;
+}