public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44366]  New: g++ crashes when declaring a lambda expression using a typedef'd decltype.
@ 2010-06-01 14:17 LindleyF at gmail dot com
  2010-06-01 14:20 ` [Bug c++/44366] " LindleyF at gmail dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: LindleyF at gmail dot com @ 2010-06-01 14:17 UTC (permalink / raw)
  To: gcc-bugs

In the minimal example (to be attached), g++ crashes with a "please submit bug
report" message.

The goal of the original code was to provide a generic multi-label connected
component algorithm. Therefore, I wished to output a label along with each
Component of the same type as the input data 2d array----decltype(data[0][0]).

However, when I added a lambda expression as part of operating on something
related to this type, g++ began crashing during compile.

I realize that in some cases decltype(data[0][0]) may have a reference type so
this code may be invalid; however, the compiler still should not crash, but
simply report an error.


-- 
           Summary: g++ crashes when declaring a lambda expression using a
                    typedef'd decltype.
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: LindleyF at gmail dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

end of thread, other threads:[~2010-06-09 15:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-01 14:17 [Bug c++/44366] New: g++ crashes when declaring a lambda expression using a typedef'd decltype LindleyF at gmail dot com
2010-06-01 14:20 ` [Bug c++/44366] " LindleyF at gmail dot com
2010-06-01 14:21 ` LindleyF at gmail dot com
2010-06-01 14:23 ` LindleyF at gmail dot com
2010-06-01 17:05 ` paolo dot carlini at oracle dot com
2010-06-03 16:40 ` [Bug c++/44366] [C++0x] " paolo dot carlini at oracle dot com
2010-06-07 23:58 ` jason at gcc dot gnu dot org
2010-06-08  0:08 ` jason at gcc dot gnu dot org
2010-06-08  4:34 ` jason at gcc dot gnu dot org
2010-06-08  4:34 ` jason at gcc dot gnu dot org
2010-06-08  4:38 ` jason at gcc dot gnu dot org
2010-06-08  4:38 ` jason at gcc dot gnu dot org
2010-06-09 15:12 ` jason at gcc dot gnu dot org

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).