wrong alias-analysis and strange x86-code

Geoff Keating geoffk@cygnus.com
Tue Oct 24 19:29:00 GMT 2000


> From: Volker Barthelmann <vb@compilers.de>
> Date: Wed, 25 Oct 2000 03:38:42 +0200

> I don't think the example I provided breaks any aliasing rules of ISO C and
> therefore I think the behaviour of gcc here is broken. Even if I specify
> -fstrict-aliasing I expect this program to be translated correctly.

Yes.  There was no type-punning of any kind occuring in the example
program, so it should work no matter how the option is set.

-- 
- Geoffrey Keating <geoffk@cygnus.com>


More information about the Gcc-bugs mailing list