projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved fehler101.c. Now with printing!
[libfirm]
/
ir
/
be
/
test
/
fehler36.c
diff --git
a/ir/be/test/fehler36.c
b/ir/be/test/fehler36.c
index
da7647c
..
ec22042
100644
(file)
--- a/
ir/be/test/fehler36.c
+++ b/
ir/be/test/fehler36.c
@@
-1,13
+1,19
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
-float t2()
+#ifdef __GNUC__
+#define NO_INLINE __attribute__((noinline))
+#else
+#define NO_INLINE __declspec(noinline)
+#endif
+
+float NO_INLINE t2()
{
float a;
return a + 12.54f;
}
{
float a;
return a + 12.54f;
}
-float t()
+float
NO_INLINE
t()
{
exit(0);
}
{
exit(0);
}
@@
-15,5
+21,6
@@
float t()
int main()
{
t();
int main()
{
t();
+ t2();
return 0;
}
return 0;
}