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: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Mar 2007 07:03:04 -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 #37 from ebotcazou at gcc dot gnu dot org 2007-03-06 07:03 -------
> Thanks for investigating. The above code is illegal as per the ISO C standard
> because it violates the type-based aliasing rules: you're not allowed to read
> a void** object through a zval** lvalue
I meant a void* object through a zval* lvalue...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30819