The code construct below IMHO never makes sense and should spill a warning. Release: gcc-3.0.3 How-To-Repeat: #include <iostream.h> #include <string> int main() { std::string foo = foo + "b"; std::cout << foo << endl; }
*** This bug has been marked as a duplicate of 5582 ***