public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/64848] New: G++ internal compiler error with templated lambdas capturing variable
@ 2015-01-28 21:24 ginste51 at gmx dot at
  2015-02-02 14:27 ` [Bug c++/64848] " ville.voutilainen at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ginste51 at gmx dot at @ 2015-01-28 21:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848

            Bug ID: 64848
           Summary: G++ internal compiler error with templated lambdas
                    capturing variable
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ginste51 at gmx dot at

Hello everyone,

i encountered this error while extending my program:
I tested gcc 4.8.4 and 4.9.2 with the same result.

For a fairly simple code snippit causing that error, please visit:
http://stackoverflow.com/questions/28202334/gcc-g-internal-error-c-templated-lambda

Thanks,
Lazarus


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

* [Bug c++/64848] G++ internal compiler error with templated lambdas capturing variable
  2015-01-28 21:24 [Bug c++/64848] New: G++ internal compiler error with templated lambdas capturing variable ginste51 at gmx dot at
@ 2015-02-02 14:27 ` ville.voutilainen at gmail dot com
  2015-07-10  2:40 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ville.voutilainen at gmail dot com @ 2015-02-02 14:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848

Ville Voutilainen <ville.voutilainen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-02-02
                 CC|                            |ville.voutilainen at gmail dot com
     Ever confirmed|0                           |1
      Known to fail|                            |4.8.2, 4.9.1, 5.0

--- Comment #1 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
Clang accepts the code.


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

* [Bug c++/64848] G++ internal compiler error with templated lambdas capturing variable
  2015-01-28 21:24 [Bug c++/64848] New: G++ internal compiler error with templated lambdas capturing variable ginste51 at gmx dot at
  2015-02-02 14:27 ` [Bug c++/64848] " ville.voutilainen at gmail dot com
@ 2015-07-10  2:40 ` paolo.carlini at oracle dot com
  2015-07-10  2:45 ` paolo at gcc dot gnu.org
  2015-07-10  2:46 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-07-10  2:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is fixed for 5.2. I'm adding a testcase and closing the bug.


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

* [Bug c++/64848] G++ internal compiler error with templated lambdas capturing variable
  2015-01-28 21:24 [Bug c++/64848] New: G++ internal compiler error with templated lambdas capturing variable ginste51 at gmx dot at
  2015-02-02 14:27 ` [Bug c++/64848] " ville.voutilainen at gmail dot com
  2015-07-10  2:40 ` paolo.carlini at oracle dot com
@ 2015-07-10  2:45 ` paolo at gcc dot gnu.org
  2015-07-10  2:46 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu.org @ 2015-07-10  2:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Fri Jul 10 02:44:39 2015
New Revision: 225648

URL: https://gcc.gnu.org/viewcvs?rev=225648&root=gcc&view=rev
Log:
2015-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/64848
        * g++.dg/cpp0x/lambda/lambda-ice14.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice14.C
Modified:
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/64848] G++ internal compiler error with templated lambdas capturing variable
  2015-01-28 21:24 [Bug c++/64848] New: G++ internal compiler error with templated lambdas capturing variable ginste51 at gmx dot at
                   ` (2 preceding siblings ...)
  2015-07-10  2:45 ` paolo at gcc dot gnu.org
@ 2015-07-10  2:46 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-07-10  2:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
             Blocks|                            |54367
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.2
           Severity|major                       |normal

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367
[Bug 54367] [meta-bug] lambda expressions


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

end of thread, other threads:[~2015-07-10  2:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-28 21:24 [Bug c++/64848] New: G++ internal compiler error with templated lambdas capturing variable ginste51 at gmx dot at
2015-02-02 14:27 ` [Bug c++/64848] " ville.voutilainen at gmail dot com
2015-07-10  2:40 ` paolo.carlini at oracle dot com
2015-07-10  2:45 ` paolo at gcc dot gnu.org
2015-07-10  2:46 ` paolo.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).