This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error
- To: egcs-bugs at cygnus dot com
- Subject: Internal compiler error
- From: Kent Vander Velden <graphix at iastate dot edu>
- Date: Wed, 10 Sep 1997 03:56:45 -0500
- Organization: Iowa State University
Included is a short program that produces an internal compiler
error with egcs-970907 on a FreeBSD-current machine if
compiled optimized. If -O flags are left off, it compiles.
While purning the program down from a few thousand lines...
often this message was given:
tt6.C: In function `int main(int, char **)':
tt6.C:22: internal error--insn does not satisfy its constraints:
(insn 1128 828 829 (set (reg:SI 4 %esi)
(reg/v:SI 63)) 52 {movsi+1} (nil)
(nil))
tt6.C:22: confused by earlier errors, bailing out
#include <vector>
#include <strstream.h>
/*----------------------------------------*/
struct connection_t {
connection_t() {}
};
vector<connection_t> connections;
/*----------------------------------------*/
int
main() {
ostrstream str;
connections.insert(connections.end(), connection_t());
return 0;
}
/*----------------------------------------*/