[Bug objc/25348] ICE encoding zero sized struct array

2005-12-12 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2005-12-12 23:58 ---
Subject: Bug 25348

Author: pinskia
Date: Mon Dec 12 23:58:16 2005
New Revision: 108432

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=108432
Log:
2005-12-12  Andrew Pinski  [EMAIL PROTECTED]

PR objc/25348
* objc-act.c (encode_array): Handle arrays to zero sized types.
2005-12-12  Andrew Pinski  [EMAIL PROTECTED]

PR objc/25348
* objc.dg/encode-9.m: New test.


Added:
trunk/gcc/testsuite/objc.dg/encode-9.m
Modified:
trunk/gcc/objc/ChangeLog
trunk/gcc/objc/objc-act.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25348



[Bug objc/25348] ICE encoding zero sized struct array

2005-12-12 Thread pinskia at gcc dot gnu dot org


--- Comment #5 from pinskia at gcc dot gnu dot org  2005-12-12 23:58 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25348



[Bug objc/25348] ICE encoding zero sized struct array

2005-12-12 Thread pinskia at gcc dot gnu dot org


--- Comment #6 from pinskia at gcc dot gnu dot org  2005-12-12 23:59 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25348



[Bug objc/25348] ICE encoding zero sized struct array

2005-12-11 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2005-12-11 16:12 ---
Patch posted:
http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00822.html


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2005-
   ||12/msg00822.html
   Keywords||patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25348



[Bug objc/25348] ICE encoding zero sized struct array

2005-12-11 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2005-12-12 05:55 ---
I should note that this causes all of objc.dg-struct-layout-encoding-1 tests to
fail on x86_64 and i?86.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25348



[Bug objc/25348] ICE encoding zero sized struct array

2005-12-10 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2005-12-11 07:39 ---
Mine testing a fix (I will file a corresponding libobjc bug for
objc_sizeof_type in the morning).

Not a regression.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
  Known to fail||2.95.3 3.0.4 4.0.0 4.1.0
   ||4.2.0 3.3.3 3.2.3 3.4.0
   Last reconfirmed|-00-00 00:00:00 |2005-12-11 07:39:38
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25348