aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/991214-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.c-torture/compile/991214-2.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.c-torture/compile/991214-2.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/991214-2.c b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/991214-2.c
new file mode 100644
index 000000000..3e18d215e
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/991214-2.c
@@ -0,0 +1,28 @@
+#if defined(STACK_SIZE) && (STACK_SIZE < 65536)
+# define HISTO_SIZE 9
+#else
+# define HISTO_SIZE 36
+#endif
+
+extern int N;
+extern int nrows;
+extern int or_num_angles;
+
+typedef struct
+{
+ double value;
+ int count;
+}Histo;
+
+Histo add_histo[10][2][HISTO_SIZE][HISTO_SIZE];
+
+void cmd_connection_statistics( )
+{
+ int i,j,k,m;
+
+ for(i=0; i<nrows; i++){
+ for(j=0; j< 2; j++)
+ for(k=0; k< or_num_angles; k++)
+ ;
+ }
+}