Description of problem: When using whatever, comma, and std::endl enclosed in brackets, the g++ compilation ends with following error: internal compiler error: in resolve_overloaded_unification Version-Release number of selected component (if applicable): the g++ is from package gcc-c++-4.1.1-30 How reproducible: #include <iostream> int main() { std::cout << "Hello" << (1, std::endl); } Steps to Reproduce: 1. Create test.cc file with the above content 2. Compile with g++ -o test test.cc 3. Watch what happens Actual results: > g++ test.cc -o test test.cc: In function 'int main()': test.cc:4: internal compiler error: in resolve_overloaded_unification, at cp/pt.c:9896 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccZKSXDk.out file, please attach this to your bugreport. Expected results: Either syntax error report or a succesfull compilation. Additional info: N/A
Created attachment 156233 [details] Preprocessed source that compiler asked me to attach
Tracking upstream.