Created attachment 381554 [details] Preprocessed source to reproduce the problem $ gcc --version gcc (Gentoo 4.9.0 p1.0, pie-0.6.0) 4.9.0 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. When I run the command: $ /usr/bin/c++ -DWITH_VERBOSE_COLLIDER -DWITH_VERBOSE_OBS_MANAGER -std=c++11 -Wall -Wextra -pedantic -Wconversion -g -std=c++11 -Wall -Wextra -pedantic -Wconversion -isystem /home/michele/dev/code/cpp/clooneljump/lib/tree-2.81/src -I/home/michele/dev/code/cpp/clooneljump/src -I/home/michele/dev/code/cpp/clooneljump/src/movers -I/home/michele/dev/code/cpp/clooneljump/include -I. -I/home/michele/dev/code/cpp/clooneljump/lib/physfs-2.0.3 -MMD -MT CMakeFiles/CloonelJump.dir/src/horzcollisionbar.cpp.o -MF "CMakeFiles/CloonelJump.dir/src/horzcollisionbar.cpp.o.d" -o CMakeFiles/CloonelJump.dir/src/horzcollisionbar.cpp.o -c /home/michele/dev/code/cpp/clooneljump/src/horzcollisionbar.cpp I get this error: /home/michele/dev/code/cpp/clooneljump/src/horzcollisionbar.cpp: In function ‘std::pair<bool, cloonel::Line<float, 2u> > cloonel::{anonymous}::getOverlap(float, const Line2D&, const Line2D&, const float2&, const float2&)’: /home/michele/dev/code/cpp/clooneljump/src/horzcollisionbar.cpp:57:41: internal compiler error: in build_special_member_call, at cp/call.c:7431 return std::make_pair(false, Line2D()); ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.gentoo.org/> for instructions. Line2D is a typedef for Line<float, 2>. I rebuilt the code with clang 3.3 and had no problems with it. I'm attaching the preprocessed file, but I'm available to put the full source code somewhere (it's from an open source project, but the part I'm working on has not been committed yet).
I've pushed it, you can find the full code here: https://bitbucket.org/King_DuckZ/clooneljump/commits/tag/gcc_49_error
this appears to be fixed w/gcc-4.9.1