Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- gcc-4.6.2/gcc/gengtype.c.orig 2014-10-17 18:04:08.510428959 -0300
- +++ gcc-4.6.2/gcc/gengtype.c 2014-10-17 18:04:25.160429286 -0300
- @@ -3594,13 +3594,14 @@ write_field_root (outf_p f, pair_p v, ty
- int has_length, struct fileloc *line, const char *if_marked,
- bool emit_pch, type_p field_type, const char *field_name)
- {
- + struct pair newv;
- +
- /* If the field reference is relative to V, rather than to some
- subcomponent of V, we can mark any subarrays with a single stride.
- We're effectively treating the field as a global variable in its
- own right. */
- if (v && type == v->type)
- {
- - struct pair newv;
- newv = *v;
- newv.type = field_type;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement