unions: initzialize only one field
commit69fdb57eddd00c592828605819f0678522d346c6
authorgrischka <grischka>
Wed, 17 Jun 2009 00:09:07 +0000 (17 02:09 +0200)
committergrischka <grischka>
Wed, 17 Jun 2009 00:09:07 +0000 (17 02:09 +0200)
treedcca669d72e59ee4168fbf15f5651538c77071ae
parentbba515afe5496ee59fc10c3307577a87c94fb87f
unions: initzialize only one field

    struct {
      union {
        int a,b;
      };
      int c;
    } sss = { 1,2 };

This had previously assigned 1,2 to a,b and 0 to c which is wrong.
tccgen.c