Index: cp-gimplify.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/cp/cp-gimplify.c,v retrieving revision 1.17 diff -u -p -r1.17 cp-gimplify.c --- cp-gimplify.c 22 Dec 2004 18:00:38 -0000 1.17 +++ cp-gimplify.c 10 Mar 2005 17:38:32 -0000 @@ -217,8 +217,8 @@ cp_gimplify_expr (tree *expr_p, tree *pr break; case EMPTY_CLASS_EXPR: - /* We create an INTEGER_CST with RECORD_TYPE and value zero. */ - *expr_p = build_int_cst (TREE_TYPE (*expr_p), 0); + /* We create an empty CONSTRUCTOR with RECORD_TYPE. */ + *expr_p = build1 (CONSTRUCTOR, TREE_TYPE (*expr_p), NULL_TREE); ret = GS_OK; break;