This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/25464] objc_sizeof_type vs zero sized arrays
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Dec 2005 19:44:06 -0000
- Subject: [Bug objc/25464] objc_sizeof_type vs zero sized arrays
- References: <bug-25464-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-17 19:44 -------
Ok, changing this will cause problems.
Anyways the problems is in objc-act.c with:
/* An incomplete array is treated like a pointer. */
if (an_int_cst == NULL)
{
encode_pointer (type, curtype, format);
return;
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25464