Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Glenn P Parker
Tue, 26 Jan 1993 02:29
gcc bug
Author: Glenn P Parker
Date: Tue, 26 Jan 1993 02:29
Date: Tue, 26 Jan 1993 02:29
23 lines
1568 bytes
1568 bytes
Submitted on behalf of Nickolay Yatsenko at Software Emancipation
Technology, Inc., Waltham, MA.
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/specs
gcc version 2.3.3
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix new2.C /usr/tmp/cca25900.i
GNU CPP version 2.3.3 (sparc)
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/cc1plus /usr/tmp/cca25900.i -quiet -dumpbase new2.cc -version -o /usr/tmp/cca25900.s
GNU C++ version 2.3.3 (sparc) compiled by GNU C version 2.3.3.
new2.C: In function `int main ()':
new2.C:6: warning: initializer list being treated as compound expression
new2.C:6: Internal compiler error.
new2.C:6: Please report this to `bug-g++@prep.ai.mit.edu'.
// Bug. Operator new on type of pointer to function.
typedef int (**PPF)(int);
int main(void)
{
PPF pf2 = new (int (*) (int)); // internal compiler error on this line.
return 0;
}
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