🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Michael Tiemann Mon, 19 Dec 1988 09:53
Vince Russo's ``nasty'' bug
#1562
Author: Michael Tiemann
Date: Mon, 19 Dec 1988 09:53
34 lines
1399 bytes
Can be fixed with these patches.

yahi% diff -c2 cplus-init.c~ cplus-init.c
*** cplus-init.c~	Sat Dec 17 18:39:23 1988
--- cplus-init.c	Mon Dec 19 01:49:51 1988
***************
*** 2440,2449 ****
        if (basetype && TREE_NEEDS_DESTRUCTOR (basetype))
  	{
! 	  if (TREE_VIRTUAL (basetype))
! 	    exprstmt = build_tree_list (NULL_TREE, build_virtual_init (basetype, ref));
! 
! 	  exprstmt = tree_cons (NULL_TREE,
! 				build_delete (basetype, ref, auto_delete),
! 				exprstmt);
  	}
        else
--- 2440,2452 ----
        if (basetype && TREE_NEEDS_DESTRUCTOR (basetype))
  	{
! 	  expr = build_delete (basetype, ref, auto_delete);
! 	  if (expr != error_mark_node)
! 	    {
! 	      exprstmt = build_tree_list (NULL_TREE, expr);
! 	      if (TREE_VIRTUAL (basetype))
! 		exprstmt = tree_cons (NULL_TREE,
! 				      build_virtual_init (basetype, ref),
! 				      exprstmt);
! 	    }
  	}
        else
yahi% 

Michael
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads