------- Comment #2 from sje at cup dot hp dot com 2006-12-21 23:20 ------- This bug only occurs when NOT in -funit-at-a-time mode. Is there a plan to switch all front-ends to unit-at-a-time compilation (which will fix this bug) or is it still worth coming up with a fix for NON unit-at-a-time usage? The problem seems to be when moving declarations from the varpool_nodes_queue to the varpool_assembled_nodes_queue in varpool_assemble_pending_decls (varpool.c). This routine gets called multiple times with a decl and we wind up putting a declaration on the varpool_assembled_nodes_queue multiple times, messing up the next_needed links in this linked list.
-- sje at cup dot hp dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sje at cup dot hp dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29614