* c-typeck.c (common_type): push and pop binding level around
calling common_type on function parameters.
* gcc.c-torture/compile/
20010202-1.c: New test.
From-SVN: r39467
+2001-02-05 Jakub Jelinek <jakub@redhat.com>
+
+ * c-typeck.c (common_type): push and pop binding level around
+ calling common_type on function parameters.
+
Mon Feb 5 14:30:37 2001 Christopher Faylor <cgf@cygnus.com>
* config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
/* If both args specify argument types, we must merge the two
lists, argument by argument. */
+ pushlevel (0);
+ declare_parm_level (1);
+
len = list_length (p1);
newargs = 0;
parm_done: ;
}
+ poplevel (0, 0, 0);
+
t1 = build_function_type (valtype, newargs);
/* ... falls through ... */
}
+2001-02-05 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.c-torture/compile/20010202-1.c: New test.
+
2001-02-05 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/primary2.C: New test.
--- /dev/null
+int foo (int n, char m[1][n]);
+
+int foo (int n, char m[1][n])
+{
+}
+