assembler error occurs when compiling this file with -O2 option. Without -O2 option the file was compiled without error. Revision 152496 does not yet have this error. Revision of 152600 already has this error.
Created attachment 18817 [details] preprocessed file
Created attachment 18818 [details] console output
Created attachment 18819 [details] compiler output
Revision of 152560 has this error too
I get > ./g++ -B. -c Affine_Space.ii -O2 Affine_Space.cc:426:1: internal compiler error: in ipcp_analyze_node, at ipa-cp.c:183 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. which may explain your later error (or not). Reducing.
namespace std { template<typename _CharT> class basic_ostream; typedef basic_ostream<char> ostream; extern ostream cerr; }; class Affine_Space { void print() const; }; std::ostream& operator<<(std::ostream& s, const Affine_Space& gr); void Affine_Space::print() const { std::cerr << *this; } std::ostream& operator<<(std::ostream& s, const Affine_Space& gr) { s << gr; return s; }
Maybe also caused by honza.
This looks like PR 40556.
In revision 153504 this error is no longer reproduced
So it was indeed a dup. *** This bug has been marked as a duplicate of 40556 ***