Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Nate Osgood
Tue, 26 Jan 1993 01:13
Bug using "new" when compiling with -fthis-is-variable
Author: Nate Osgood
Date: Tue, 26 Jan 1993 01:13
Date: Tue, 26 Jan 1993 01:13
38 lines
1319 bytes
1319 bytes
Hi! I'm compiling using g++ 2.3.3 (running on a Sun4
under SunOS 4.1.3). When I compile using the -fthis-is-variable flag,
the following simple code causes an internal compiler error. here's
the code:
class foo
{
public:
foo(int);
};
main()
{
foo *p;
p = new foo(1);
}
and here's the error message:
catfish % g++ -fthis-is-variable foo.C
foo.C: In function `int main ()':
foo.C:11: Internal compiler error.
foo.C:11: Please report this to `bug-g++@prep.ai.mit.edu
thanks!
nate
--
-------------------------------------------------------------------------------
Nate Osgood | ARPA: hacrat@catfish.lcs.mit.edu
CS Graduate Student |
MIT LCS Room NE43-636 | UUCP: ...!uunet!catfish.lcs.mit.edu!hacrat
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