Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518098 - [4.9/ICE] sys-devel/gcc-4.9.0 - internal compiler error: in build_special_member_call, at cp/call.c:7431
Summary: [4.9/ICE] sys-devel/gcc-4.9.0 - internal compiler error: in build_special_mem...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.9
  Show dependency tree
 
Reported: 2014-07-25 13:36 UTC by Michele Santullo
Modified: 2014-11-01 06:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Preprocessed source to reproduce the problem (horzcollisionbar.cpp.o.xz,199.16 KB, application/x-xz)
2014-07-25 13:36 UTC, Michele Santullo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Santullo 2014-07-25 13:36:42 UTC
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).
Comment 1 Michele Santullo 2014-07-25 13:51:35 UTC
I've pushed it, you can find the full code here: https://bitbucket.org/King_DuckZ/clooneljump/commits/tag/gcc_49_error
Comment 2 SpanKY gentoo-dev 2014-11-01 06:58:23 UTC
this appears to be fixed w/gcc-4.9.1