This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: help with g++ and strict aliasing on x86-64
- From: Alberto Griggio <alberto dot griggio at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 22 Nov 2010 18:52:01 +0100
- Subject: Re: help with g++ and strict aliasing on x86-64
- Followup-to: gmane.comp.gcc.help
- References: <ice70c$13l$1@dough.gmane.org>
> Hello,
> I'm having trouble understanding what I'm doing wrong in the following
> piece of code.
>
> My OS is Debian GNU/Linux 5.0, compiler is
> g++-4.1 (GCC) 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)
> platform x86-64
Sorry, I realized I forgot to include the compilation flags required for
reproducing the problem:
g++-4.1 -O1 -fdelete-null-pointer-checks -fschedule-insns -fstrict-
aliasing -ftree-vrp
Alberto