OSDN Git Service

* gcc.c-torture/execute/builtin-abs-1.c
[pf3gnuchains/gcc-fork.git] / gcc / gengtype-yacc.y
index 2e7b6a7..449a515 100644 (file)
@@ -282,8 +282,11 @@ option:   ID
            { $$ = create_option ($1, adjust_field_type ($3, NULL)); }
        | NESTED_PTR '(' type ',' stringseq ',' stringseq ')'
            {
-             struct nested_ptr_data d =
-               { adjust_field_type ($3, NULL), $5, $7 };
+             struct nested_ptr_data d;
+
+             d.type = adjust_field_type ($3, NULL);
+             d.convert_to = $5;
+             d.convert_from = $7;
              $$ = create_option ("nested_ptr",
                                  xmemdup (&d, sizeof (d), sizeof (d)));
            }