Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!itivax!umich!zip!spencer From: spencer@eecs.umich.edu (Spencer W. Thomas) Newsgroups: gnu.g++.bug Subject: Bug in g++ 1.36.0- Message-ID: Date: 23 Aug 89 20:59:26 GMT Sender: news@zippy.eecs.umich.edu Organization: University of Michigan EECS Dept Lines: 22 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)