spencer@eecs.umich.edu (Spencer W. Thomas) (08/24/89)
I have been testing g++ 1.36.0- on some code of mine that won't compile under 1.35. I ran into a little bug in the process. This was run on a SUN4, if that makes a difference. The following program causes g++ 1.36.0- (cc1plus) to get a segmentation violation (in yyparse) when compiled with the flag -fthis-is-variable: void bar() { int *i = new int; } This slight modification (or leaving off -fthis-is-variable) passes: void bar() { int *i = new int[1]; } -- =Spencer (spencer@eecs.umich.edu)