This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30819] php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit
- From: "armin at xos dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2007 14:00:07 -0000
- Subject: [Bug c/30819] php 5.2.1 / gcc 4.1.1 / solaris 2.9 / 64 bit
- References: <bug-30819-14084@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from armin at xos dot net 2007-02-16 14:00 -------
(In reply to comment #5)
> > i used the above cflags and it compiled well. and no segmentation faults
> > anymore.
>
> I wouldn't personally recommend -fwrapv, this may uncover other problems. On
> the contrary, -fno-strict-aliasing is always safe.
with just -fno-strict-aliasing it compiles and executes fine as well. so no
-fwrapv needed.
--
armin at xos dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |armin at xos dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30819