This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -fstrict-aliasing


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]