This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fstrict-aliasing
- To: law at cygnus dot com, Ulrich Drepper <drepper at cygnus dot com>
- Subject: Re: -fstrict-aliasing
- From: Richard Henderson <rth at cygnus dot com>
- Date: Sat, 27 Jun 1998 19:10:20 -0700
- Cc: egcs at cygnus dot com
- References: <r23ecruxja.fsf@happy.cygnus.com> <6738.898966524@hurl.cygnus.com>
- Reply-To: Richard Henderson <rth at cygnus dot com>
On Sat, Jun 27, 1998 at 10:55:24AM -0600, Jeffrey A Law wrote:
> Maybe we should turn it on by default. I haven't seen it break anything
> and as sensitive as glibc has been to alias changes it's great that
> glibc still works.
Test it on the linux kernel first. I have a feeling _thats_ where
the dragons might be, since
int i;
short s;
i = 3;
s = *(short *)&i;
doesn't work anymore.
r~