On Jan 26, 2006, Gabriel Dos Reis <[EMAIL PROTECTED]> wrote:

> I don't see anything in the ISO C standard that implies that.

> This 

>     x.v1 = 384;
>     x.v2 = 94.08;
>     int v = x.v2;
>     x.v1 = v;

> is valid fragment.

But can you see anything in it that makes it undefined?

Failing that, regular assignment and access rules apply, and so it is
valid.

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   [EMAIL PROTECTED], gcc.gnu.org}
Free Software Evangelist  [EMAIL PROTECTED], gnu.org}

Reply via email to