Joseph Myers writes:
> See bug 63944 and DR#413 regarding such cases.
Right, it's the same bug. Thank you.
--
Krzysztof Halasa
Industrial Research Institute for Automation and Measurements PIAP
Al. Jerozolimskie 202, 02-486 Warsaw, Poland
See bug 63944 and DR#413 regarding such cases.
--
Joseph S. Myers
jos...@codesourcery.com
On 17 June 2015 at 09:16, Krzysztof Hałasa wrote:
> Hi,
>
> I wonder if the following is a bug:
>
> #include
>
> int main(void)
> {
> struct str {
> struct a {
> int a1, a2;
> } a;
> };
>
> struct str src = {.a = {.a1
Hi,
I wonder if the following is a bug:
#include
int main(void)
{
struct str {
struct a {
int a1, a2;
} a;
};
struct str src = {.a = {.a1 = 1, .a2 = 2}};
struct str dest = {.a = src.a, .a.a2 = 3};