Full version string: g++-4.1 (GCC) 4.1.2 20060708 (prerelease) (Ubuntu 4.1.1-8ubuntu1) Same problem exists in Debian 'etch'. The error message after the location of the crash is: /usr/include/boost/spirit/core/composite/actions.hpp:106: internal compiler error: in expand_expr_addr_expr_1, at expr.c:6336 It only occurs using the -O1 and -O2 flags, but succeeds in compiling using -O0 or -O3. No other flags need to be given to trigger this crash. Older compiler versions (4.0,3.4,3.3...) do not have this bug. Preprocessed code follows...
Created attachment 11866 [details] Compressed (bzip2) preprocessed file After unzipping, compile this file using: $ g++-4.1 -c attachment.ii -O2 -o attachment.o
Confirmed, though the testcase is huge and the error message atrocious. Someone will have to take the time to reduce something smaller out of this whole boost mess... W.
ping? ice-on-valid in boost
This is most likely a dup of bug 28116 anyways.
I cannot reproduce this with either current 4.1 branch head nor g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21).
Yes this is a dup of PR 28116. *** This bug has been marked as a duplicate of 28116 ***