* 971031 internal compiler error (in reload, exceptions-related)
@ 1997-11-05 14:06 Joe Buck
0 siblings, 0 replies; only message in thread
From: Joe Buck @ 1997-11-05 14:06 UTC (permalink / raw)
To: egcs team
Compiling the following program with egcs-971031 on Solaris/sparc
with -O causes an internal compiler error. Line 548 contains "throw;".
This is a fairly severe bug, as it affects many programs that use vectors
of class objects.
% ~/egcs/bin/gcc -O x2.cxx
/u/jbuck/egcs/include/g++/algobase.h: In function `class SomeClass * __uninitialized_copy_aux<const SomeClass *, SomeClass *>(const class SomeClass *, const class SomeClass *, class SomeClass *, struct __false_type)':
/u/jbuck/egcs/include/g++/algobase.h:548: Internal compiler error.
/u/jbuck/egcs/include/g++/algobase.h:548: Please submit a full bug report to `egcs-bugs@cygnus.com'.
cc1plus blows up in reload_cse_noop_set_p.
--------------------------
#include <algobase.h>
struct SomeClass {
int data;
};
void foo(const SomeClass* arg1, const SomeClass* arg2, SomeClass* arg3)
{
__false_type foo;
__uninitialized_copy_aux(arg1, arg2, arg3, foo);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-11-05 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-05 14:06 971031 internal compiler error (in reload, exceptions-related) Joe Buck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).