Created attachment 639689 [details] gzip-compressed preprocessed source Description of problem: libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I . -I ./../includes -I ../includes -g -std=c++0x -fno-omit-frame-pointer -fvisibility-inlines-hidden -MT http_responseimpl.lo -MD -MP -MF .deps/http_responseimpl.Tpo -c http_responseimpl.C -fPIC -DPIC -o .libs/http_responseimpl.o ' Internal compiler error: Error reporting routines re-entered. Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/cctlwufF.out file, please attach this to your bugreport. Version-Release number of selected component (if applicable): gcc-c++-4.7.2-2.fc17.x86_64 How reproducible: Always Steps to Reproduce: 1. Try to compile the attached source, with -std=c++0x Actual results: An internal compiler error. Expected results: An object module, or a compiler diagnostic. Other: Eventually tracked down the broken code that was triggering this: invoking a static class member without an object.
As this has been fixed for GCC 4.8, and is ICE on invalid code in an experimental feature (C++11), am not going to backport this to 4.7. The trunk reports: http_responseimpl.C: In member function ‘void x::http::responseimpl::addCookie(const x::http::cookie&)’: http_responseimpl.C:502:61: error: cannot call member function ‘decltype (token_or_quoted_word(container.begin(), container.end())) x::tokenizer<token_class>::token_or_quoted_word(const container_type&) [with container_type = std::basic_string<char>; token_class = x::is_http_token; decltype (token_or_quoted_word(container.begin(), container.end())) = <type error>]’ without object http_responseimpl.C:505:8: error: ‘token_or_quoted_wird’ is not a member of ‘x::tokenizer<x::is_http_token>’ http_responseimpl.C:509:8: error: ‘create’ is not a member of ‘x::const_ref<x::localeObj, x::localeBase>::base {aka x::localeBase}’