public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/40966]  New: [cxx0x-lambda] ICE
@ 2009-08-04 19:53 pedro dot lamarao at gmail dot com
  2009-08-04 19:56 ` [Bug c++/40966] " pedro dot lamarao at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pedro dot lamarao at gmail dot com @ 2009-08-04 19:53 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2744 bytes --]

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 <command-line>: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::unique_ptr<sigyn::handler::throw_event_handler>*,
std::vector<std::unique_ptr<sigyn::handler::throw_event_handler> > >,
_Predicate = sigyn::server::select_server<Handler, ExceptionPolicy>::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<Handler, ExceptionPolicy>::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.lamarao@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/40966] [cxx0x-lambda] ICE
  2009-08-04 19:53 [Bug c++/40966] New: [cxx0x-lambda] ICE pedro dot lamarao at gmail dot com
@ 2009-08-04 19:56 ` pedro dot lamarao at gmail dot com
  2009-11-15 17:40 ` paolo dot carlini at oracle dot com
  2009-12-26 22:40 ` paolo dot carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pedro dot lamarao at gmail dot com @ 2009-08-04 19:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pedro dot lamarao at gmail dot com  2009-08-04 19:55 -------
Created an attachment (id=18303)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18303&action=view)
Preprocessed source that triggered the ICE


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40966


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/40966] [cxx0x-lambda] ICE
  2009-08-04 19:53 [Bug c++/40966] New: [cxx0x-lambda] ICE pedro dot lamarao at gmail dot com
  2009-08-04 19:56 ` [Bug c++/40966] " pedro dot lamarao at gmail dot com
@ 2009-11-15 17:40 ` paolo dot carlini at oracle dot com
  2009-12-26 22:40 ` paolo dot carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-11-15 17:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo dot carlini at oracle dot com  2009-11-15 17:39 -------
Lambdas are in mainline now, and I don't see any ICE, just a normal error.
Please double check, thanks.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40966


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/40966] [cxx0x-lambda] ICE
  2009-08-04 19:53 [Bug c++/40966] New: [cxx0x-lambda] ICE pedro dot lamarao at gmail dot com
  2009-08-04 19:56 ` [Bug c++/40966] " pedro dot lamarao at gmail dot com
  2009-11-15 17:40 ` paolo dot carlini at oracle dot com
@ 2009-12-26 22:40 ` paolo dot carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-26 22:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from paolo dot carlini at oracle dot com  2009-12-26 22:40 -------
Feedback not forthcoming.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40966


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-26 22:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-04 19:53 [Bug c++/40966] New: [cxx0x-lambda] ICE pedro dot lamarao at gmail dot com
2009-08-04 19:56 ` [Bug c++/40966] " pedro dot lamarao at gmail dot com
2009-11-15 17:40 ` paolo dot carlini at oracle dot com
2009-12-26 22:40 ` paolo dot carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).