This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error 40
- To: egcs-bugs at cygnus dot com
- Subject: Internal compiler error 40
- From: Ales Cepek <cepek at fsv dot cvut dot cz>
- Date: Mon, 3 May 1999 22:02:07 +0200 (CEST)
/*
* Hello,
*
* I am sending a minor bug concerning concatenation of std strings.
*
* Ales
*
*/
#include <string>
int main()
{
using namespace std;
string b("middle");
string t = string("first") + b // ###### operator + missing here ######
string("last");
return 0;
}
/*
g++ -v ; g++ -Wall --pedantic -c ie-40.cpp
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/specs
gcc version egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release)
ie-40.cpp: In function `int main()':
ie-40.cpp:9: Internal compiler error 40.
ie-40.cpp:9: Please submit a full bug report to `egcs-bugs@cygnus.com'.
ie-40.cpp:9: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
Compilation exited abnormally with code 1 at Mon May 3 15:15:09
*/