public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug objc/41108] ICE in objc_build_ivar_assignment [not found] <bug-41108-4@http.gcc.gnu.org/bugzilla/> @ 2010-10-24 3:40 ` nicola at gcc dot gnu.org 2010-11-22 21:33 ` nicola at gcc dot gnu.org 2010-11-22 21:38 ` nicola at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: nicola at gcc dot gnu.org @ 2010-10-24 3:40 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41108 Nicola Pero <nicola at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nicola at gcc dot gnu.org --- Comment #2 from Nicola Pero <nicola at gcc dot gnu.org> 2010-10-24 03:39:58 UTC --- Yes, this is already fixed in trunk. It would be good to add a /* This is currently only used with the next runtime. */ gcc_assert (flag_next_runtime); at the beginning of objc_build_ivar_assignment () to make really sure it can never happen. ;-) Thanks ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug objc/41108] ICE in objc_build_ivar_assignment [not found] <bug-41108-4@http.gcc.gnu.org/bugzilla/> 2010-10-24 3:40 ` [Bug objc/41108] ICE in objc_build_ivar_assignment nicola at gcc dot gnu.org @ 2010-11-22 21:33 ` nicola at gcc dot gnu.org 2010-11-22 21:38 ` nicola at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: nicola at gcc dot gnu.org @ 2010-11-22 21:33 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41108 --- Comment #3 from Nicola Pero <nicola at gcc dot gnu.org> 2010-11-22 21:32:52 UTC --- Author: nicola Date: Mon Nov 22 21:32:49 2010 New Revision: 167054 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167054 Log: In gcc/objc/: 2010-11-22 Nicola Pero <nicola.pero@meta-innovation.com> PR objc/41108 * objc-act.c (objc_generate_write_barrier): Added assert to make sure this function is only called with the next runtime. Modified: trunk/gcc/objc/ChangeLog trunk/gcc/objc/objc-act.c ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug objc/41108] ICE in objc_build_ivar_assignment [not found] <bug-41108-4@http.gcc.gnu.org/bugzilla/> 2010-10-24 3:40 ` [Bug objc/41108] ICE in objc_build_ivar_assignment nicola at gcc dot gnu.org 2010-11-22 21:33 ` nicola at gcc dot gnu.org @ 2010-11-22 21:38 ` nicola at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: nicola at gcc dot gnu.org @ 2010-11-22 21:38 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41108 Nicola Pero <nicola at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Known to work| |4.6.0 Resolution| |FIXED Target Milestone|--- |4.6.0 --- Comment #4 from Nicola Pero <nicola at gcc dot gnu.org> 2010-11-22 21:33:35 UTC --- It was already fixed in trunk; I added the assert too. Thanks ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug objc/41108] New: ICE in objc_build_ivar_assignment @ 2009-08-18 17:30 jakub at gcc dot gnu dot org 2009-08-18 17:32 ` [Bug objc/41108] " pinskia at gcc dot gnu dot org 0 siblings, 1 reply; 4+ messages in thread From: jakub at gcc dot gnu dot org @ 2009-08-18 17:30 UTC (permalink / raw) To: gcc-bugs @interface O { } @end @protocol E @end @class F; @interface G: O { } @end @interface F: O <E> { G *g; } -(id)bar:(G *)baz; @end @implementation F -(id)bar:(G *)baz { self->g = baz; return self; } @end ICEs with -fobjc-gc -fgnu-runtime (works without -fobjc-gc or with -fobjc-gc -fnext-runtime). Apparently objc_assign_ivar_fast_decl and objc_assign_ivar_decl are only initialized for next runtime, but are used unconditionally even for GNU runtime. -- Summary: ICE in objc_build_ivar_assignment Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: objc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41108 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug objc/41108] ICE in objc_build_ivar_assignment 2009-08-18 17:30 [Bug objc/41108] New: " jakub at gcc dot gnu dot org @ 2009-08-18 17:32 ` pinskia at gcc dot gnu dot org 0 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2009-08-18 17:32 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2009-08-18 17:32 ------- -fobjc-gc should error out for the GNU runtime. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41108 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-11-22 21:33 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-41108-4@http.gcc.gnu.org/bugzilla/> 2010-10-24 3:40 ` [Bug objc/41108] ICE in objc_build_ivar_assignment nicola at gcc dot gnu.org 2010-11-22 21:33 ` nicola at gcc dot gnu.org 2010-11-22 21:38 ` nicola at gcc dot gnu.org 2009-08-18 17:30 [Bug objc/41108] New: " jakub at gcc dot gnu dot org 2009-08-18 17:32 ` [Bug objc/41108] " 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).