projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f2ab33
)
fehler95 (entity size is stored in bits which provokes overflows in some cases)
author
Matthias Braun
<matze@braunis.de>
Sat, 13 Oct 2007 11:50:52 +0000
(11:50 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 13 Oct 2007 11:50:52 +0000
(11:50 +0000)
[r16193]
ir/be/test/fehler95.c
[new file with mode: 0644]
patch
|
blob
diff --git a/ir/be/test/fehler95.c
b/ir/be/test/fehler95.c
new file mode 100644
(file)
index 0000000..
a85671d
--- /dev/null
+++ b/
ir/be/test/fehler95.c
@@ -0,0
+1,10
@@
+#include <assert.h>
+
+#define SIZE 268435456
+char too_long_for_firm[SIZE];
+
+int main(int argc, char **argv)
+{
+ too_long_for_firm[SIZE-1] = '\0';
+ return 0;
+}