Advertisement
Guest User

Untitled

a guest
Oct 17th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.74 KB | None | 0 0
  1. --- gcc-4.6.2/gcc/gengtype.c.orig       2014-10-17 18:04:08.510428959 -0300
  2. +++ gcc-4.6.2/gcc/gengtype.c    2014-10-17 18:04:25.160429286 -0300
  3. @@ -3594,13 +3594,14 @@ write_field_root (outf_p f, pair_p v, ty
  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. +
  9.    /* If the field reference is relative to V, rather than to some
  10.       subcomponent of V, we can mark any subarrays with a single stride.
  11.       We're effectively treating the field as a global variable in its
  12.       own right.  */
  13.    if (v && type == v->type)
  14.      {
  15. -      struct pair newv;
  16.  
  17.        newv = *v;
  18.        newv.type = field_type;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement