OSDN Git Service

PR c++/42623
[pf3gnuchains/gcc-fork.git] / gcc / c-common.c
index 32dc21e..5772b83 100644 (file)
@@ -4390,7 +4390,7 @@ c_sizeof_or_alignof_type (location_t loc,
       if (complain)
        error_at (loc, "invalid application of %qs to incomplete type %qT ",
                  op_name, type);
-      value = size_zero_node;
+      return error_mark_node;
     }
   else
     {