This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Checking for -fstrict-aliasing
- From: Florian Weimer <fweimer at redhat dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 27 May 2015 13:09:30 +0200
- Subject: Checking for -fstrict-aliasing
- Authentication-results: sourceware.org; auth=none
Is there a way to check for strict aliasing mode in the preprocessor?
I would like to add warnings to those glibc header files which define
interfaces with inherent aliasing violations.
--
Florian Weimer / Red Hat Product Security