]> git.pld-linux.org Git - packages/crossavr-gcc.git/blob - gcc-bug51969.patch
crossavr-gcc: Synchronized with official AVR toolchain 3.4.0.663.
[packages/crossavr-gcc.git] / gcc-bug51969.patch
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));
This page took 0.04035 seconds and 3 git commands to generate.