This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: module level flags
- From: Michael Matz <matz at suse dot de>
- To: Joe Buck <Joe dot Buck at synopsys dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Tue, 1 Oct 2002 23:59:35 +0200 (CEST)
- Subject: Re: module level flags
Hi,
On Tue, 1 Oct 2002, Joe Buck wrote:
> Can any folks from Red Hat or elsewhere comment on how many violations
> they found when they first switched to compilers that implement
> strict-aliasing by default?
I can't comment on all of SuSE's packages, but at least we didn't run into
_that_ many failures, or at least didn't noticed them yet (OTOH we went
straight from 2.95.3 to 3.2, so some of them might have been fixed at that
time already). But XFree86 (or at least some drivers of it) definitely
violates aliasing rules, and IIRC an interpreter of a functional language
(don't remember which, but it isn't an rpm on the distribution). A quick
grep through all our .spec files and diffs over most of the current
packages reveals for instance, that only sendmail and xf86 are compiled
with no-strict-aliasing currently. The kernel of course too.
Ciao,
Michael.