* config/i386/i386.c (classify_argument): Skip fields with invalid
types.
* gcc.dg/array-9.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113609
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-05-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR target/27421
+ * config/i386/i386.c (classify_argument): Skip fields with invalid
+ types.
+
2006-05-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27409
{
int num;
+ if (TREE_TYPE (field) == error_mark_node)
+ continue;
+
/* Bitfields are always classified as integer. Handle them
early, since later code would consider them to be
misaligned integers. */
+2006-05-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR target/27421
+ * gcc.dg/array-9.c: New test.
+
2006-05-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27409
--- /dev/null
+/* PR target/27421 */
+/* { dg-do compile } */
+
+struct A
+{
+ int i;
+ void x[1]; /* { dg-error "array of voids" } */
+};
+
+void foo(struct A a) {}