public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug objc/25348] New: ICE encoding zero sized struct array @ 2005-12-11 7:38 pinskia at gcc dot gnu dot org 2005-12-11 7:39 ` [Bug objc/25348] " pinskia at gcc dot gnu dot org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-11 7:38 UTC (permalink / raw) To: gcc-bugs Testcase: struct f { int i; struct{} g[4]; int tt; }; char *e = @encode(struct f); -- Summary: ICE encoding zero sized struct array Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: objc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org GCC target triplet: x86-64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25348 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug objc/25348] ICE encoding zero sized struct array 2005-12-11 7:38 [Bug objc/25348] New: ICE encoding zero sized struct array pinskia at gcc dot gnu dot org @ 2005-12-11 7:39 ` pinskia at gcc dot gnu dot org 2005-12-11 16:12 ` pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-11 7:39 UTC (permalink / raw) To: gcc-bugs ------- 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|0000-00-00 00:00:00 |2005-12-11 07:39:38 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25348 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug objc/25348] ICE encoding zero sized struct array 2005-12-11 7:38 [Bug objc/25348] New: ICE encoding zero sized struct array pinskia at gcc dot gnu dot org 2005-12-11 7:39 ` [Bug objc/25348] " pinskia at gcc dot gnu dot org @ 2005-12-11 16:12 ` pinskia at gcc dot gnu dot org 2005-12-12 5:55 ` pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-11 16:12 UTC (permalink / raw) To: gcc-bugs ------- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug objc/25348] ICE encoding zero sized struct array 2005-12-11 7:38 [Bug objc/25348] New: ICE encoding zero sized struct array pinskia at gcc dot gnu dot org 2005-12-11 7:39 ` [Bug objc/25348] " pinskia at gcc dot gnu dot org 2005-12-11 16:12 ` pinskia at gcc dot gnu dot org @ 2005-12-12 5:55 ` pinskia at gcc dot gnu dot org 2005-12-12 23:58 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-12 5:55 UTC (permalink / raw) To: gcc-bugs ------- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug objc/25348] ICE encoding zero sized struct array 2005-12-11 7:38 [Bug objc/25348] New: ICE encoding zero sized struct array pinskia at gcc dot gnu dot org ` (2 preceding siblings ...) 2005-12-12 5:55 ` pinskia at gcc dot gnu dot org @ 2005-12-12 23:58 ` pinskia at gcc dot gnu dot org 2005-12-12 23:58 ` pinskia at gcc dot gnu dot org 2005-12-12 23:59 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-12 23:58 UTC (permalink / raw) To: gcc-bugs ------- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug objc/25348] ICE encoding zero sized struct array 2005-12-11 7:38 [Bug objc/25348] New: ICE encoding zero sized struct array pinskia at gcc dot gnu dot org ` (3 preceding siblings ...) 2005-12-12 23:58 ` pinskia at gcc dot gnu dot org @ 2005-12-12 23:58 ` pinskia at gcc dot gnu dot org 2005-12-12 23:59 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-12 23:58 UTC (permalink / raw) To: gcc-bugs ------- 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=gcc&view=rev&rev=108432 Log: 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu> PR objc/25348 * objc-act.c (encode_array): Handle arrays to zero sized types. 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu> 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug objc/25348] ICE encoding zero sized struct array 2005-12-11 7:38 [Bug objc/25348] New: ICE encoding zero sized struct array pinskia at gcc dot gnu dot org ` (4 preceding siblings ...) 2005-12-12 23:58 ` pinskia at gcc dot gnu dot org @ 2005-12-12 23:59 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-12 23:59 UTC (permalink / raw) To: gcc-bugs ------- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-12-12 23:59 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-12-11 7:38 [Bug objc/25348] New: ICE encoding zero sized struct array pinskia at gcc dot gnu dot org 2005-12-11 7:39 ` [Bug objc/25348] " pinskia at gcc dot gnu dot org 2005-12-11 16:12 ` pinskia at gcc dot gnu dot org 2005-12-12 5:55 ` pinskia at gcc dot gnu dot org 2005-12-12 23:58 ` pinskia at gcc dot gnu dot org 2005-12-12 23:58 ` pinskia at gcc dot gnu dot org 2005-12-12 23:59 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).