This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/1642: problem with inline assembler: result variable not finished (?) when used
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jsm28 at cam dot ac dot uk, mirar at mirar dot org, nobody at gcc dot gnu dot org
- Subject: Re: c/1642: problem with inline assembler: result variable not finished (?) when used
- From: jsm28 at gcc dot gnu dot org
- Date: 22 Jun 2001 10:41:34 -0000
Synopsis: problem with inline assembler: result variable not finished (?) when used
State-Changed-From-To: open->closed
State-Changed-By: jsm28
State-Changed-When: Fri Jun 22 03:41:34 2001
State-Changed-Why:
Your program does not follow ISO C aliasing rules: it accesses
the same object as both unsigned long and long long. If
you use -fno-strict-aliasing, it seems to act as you expect.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1642&database=gcc