I'm seeing the following ICE with current a cxx0x-lambda-branch compiler.
/opt/gcc-lambda/bin/g++ -Iinclude -I../cxx_device/include
-I../cxx_network/include/network -MD -std=c++0x -save-temps -Wall -Werror -O0
-g3 -fPIC -pthread -include src/throw_select_server/config.hpp -c -o
bin/throw_select_server_main.o src/main.cpp
In file included from
/opt/gcc-lambda/lib/gcc/i586-redhat-linux/4.5.0/../../../../include/c++/4.5.0/algorithm:62:0,
from include/sigyn/server/select_server.hpp:23,
from ./src/throw_select_server/config.hpp:3,
from :3:
/opt/gcc-lambda/lib/gcc/i586-redhat-linux/4.5.0/../../../../include/c++/4.5.0/bits/stl_algo.h:
In instantiation of â_FIter std::remove_if(_FIter, _FIter, _Predicate) [with
_FIter =
__gnu_cxx::__normal_iterator*,
std::vector > >,
_Predicate = sigyn::server::select_server::run()
[with Handler = sigyn::handler::throw_event_handler, ExceptionPolicy =
sigyn::server::default_exception_policy]::__lambda0]â:
include/sigyn/server/select_server.hpp:158:5: instantiated from âvoid
sigyn::server::select_server::run() [with Handler =
sigyn::handler::throw_event_handler, ExceptionPolicy =
sigyn::server::default_exception_policy]â
src/main.cpp:59:30: instantiated from here
/opt/gcc-lambda/lib/gcc/i586-redhat-linux/4.5.0/../../../../include/c++/4.5.0/bits/stl_algo.h:1165:5:
internal compiler error: vector VEC(tree,base) index domain error, in
discriminator_for_local_entity at cp/mangle.c:1484
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: ** [bin/throw_select_server_main.o] Erro 1
[pedro.lama...@larissa cxx_network]$ /opt/gcc-lambda/bin/g++ -v
Using built-in specs.
Target: i586-redhat-linux
Configured with: ../cxx0x-lambda/configure --prefix=/opt/gcc-lambda
--enable-bootstrap --enable-shared --enable-threads=posix --enable-checking
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-languages=c,c++ --with-tune=generic --with-arch=i586
--build=i586-redhat-linux
Thread model: posix
gcc version 4.5.0 20090803 (experimental) (GCC)
--
Summary: [cxx0x-lambda] ICE
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pedro dot lamarao at gmail dot com
GCC build triplet: i586-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40966