This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linux and aliasing?
- To: Sylvain Pion <Sylvain dot Pion at sophia dot inria dot fr>
- Subject: Re: Linux and aliasing?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 04 Jun 1999 14:27:58 -0600
- cc: EGCS list <egcs at egcs dot cygnus dot com>
- Reply-To: law at cygnus dot com
In message <19990604222537.B12018@rigel.inria.fr>you write:
> Is there a way to emit a warning when dangerous code is used ?
> That would greatly help.
Possibly. I'm not well versed enough in the front-end to really know.
One might be able to start by looking at how -Wcast-align works and see if
there's enough information at that time to warn without giving too many
false positives.
jeff