]>
Commit | Line | Data |
---|---|---|
6ef8d480 PZ |
1 | --- branches/gcc-4_6-branch/gcc/gengtype.c 2012/02/14 23:26:47 184238 |
2 | +++ branches/gcc-4_6-branch/gcc/gengtype.c 2012/02/14 23:31:42 184239 | |
3 | @@ -3594,14 +3594,13 @@ | |
4 | int has_length, struct fileloc *line, const char *if_marked, | |
5 | bool emit_pch, type_p field_type, const char *field_name) | |
6 | { | |
7 | + struct pair newv; | |
8 | /* If the field reference is relative to V, rather than to some | |
9 | subcomponent of V, we can mark any subarrays with a single stride. | |
10 | We're effectively treating the field as a global variable in its | |
11 | own right. */ | |
12 | if (v && type == v->type) | |
13 | { | |
14 | - struct pair newv; | |
15 | - | |
16 | newv = *v; | |
17 | newv.type = field_type; | |
18 | newv.name = ACONCAT ((v->name, ".", field_name, NULL)); |