public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67244] New: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801
@ 2015-08-17  5:59 shadewind at gmail dot com
  2015-08-17  6:25 ` [Bug c++/67244] " trippels at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: shadewind at gmail dot com @ 2015-08-17  5:59 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67244
           Summary: internal compiler error: in gimplify_var_or_parm_decl,
                    at gimplify.c:1801
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: shadewind at gmail dot com
  Target Milestone: ---

Created attachment 36192
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36192&action=edit
The preprocessed source

Internal compiler error with GCC 5.2.0 when building the attached preprocessed
source on OS X 10.10.2:

build_gcc❯ g++-5 -std=c++11 Unique.pp.cpp -o test                              
                                                                               
                                                                               
            rapidcheck/git/dev 
../test/gen/ContainerTests/Unique.cpp: In lambda function:
../test/gen/ContainerTests/Unique.cpp:59:37: internal compiler error: in
gimplify_var_or_parm_decl, at gimplify.c:1801
                 return std::count_if(begin(elements),
                                     ^

../test/gen/ContainerTests/Unique.cpp:59:37: internal compiler error: Abort
trap: 6
g++-5: internal compiler error: Abort trap: 6 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://github.com/Homebrew/homebrew/issues> for instructions.
>From gcc-bugs-return-494943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Aug 17 06:25:04 2015
Return-Path: <gcc-bugs-return-494943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67594 invoked by alias); 17 Aug 2015 06:25:03 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 67146 invoked by uid 48); 17 Aug 2015 06:25:00 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58907] [c++11] ICE in gimplify_var_or_parm_decl, at gimplify.c:NNNN
Date: Mon, 17 Aug 2015 06:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-58907-4-DEL7ZlxBhO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58907-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58907-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-08/txt/msg01085.txt.bz2
Content-length: 581

https://gcc.gnu.org/bugzilla/show_bug.cgi?idX907

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
dup.

*** This bug has been marked as a duplicate of bug 62272 ***


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

* [Bug c++/67244] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801
  2015-08-17  5:59 [Bug c++/67244] New: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801 shadewind at gmail dot com
@ 2015-08-17  6:25 ` trippels at gcc dot gnu.org
  2015-08-17  7:09 ` shadewind at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-17  6:25 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
dup.

*** This bug has been marked as a duplicate of bug 62272 ***


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

* [Bug c++/67244] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801
  2015-08-17  5:59 [Bug c++/67244] New: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801 shadewind at gmail dot com
  2015-08-17  6:25 ` [Bug c++/67244] " trippels at gcc dot gnu.org
@ 2015-08-17  7:09 ` shadewind at gmail dot com
  2015-08-17 18:42 ` [Bug c++/67244] [5/6 Regression] " jason at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: shadewind at gmail dot com @ 2015-08-17  7:09 UTC (permalink / raw)
  To: gcc-bugs

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

Emil Eriksson <shadewind at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |---

--- Comment #2 from Emil Eriksson <shadewind at gmail dot com> ---
Are you absolutely sure this is a duplicate? The alleged duplicate involes a
member function call while this one does not. Also, this code works on 4.9
while the code in the duplicate is verified on 4.9. Unless I'm missing some
knowledge of the internals, these two seem like different bugs to me.


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

* [Bug c++/67244] [5/6 Regression] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801
  2015-08-17  5:59 [Bug c++/67244] New: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801 shadewind at gmail dot com
  2015-08-17  6:25 ` [Bug c++/67244] " trippels at gcc dot gnu.org
  2015-08-17  7:09 ` shadewind at gmail dot com
@ 2015-08-17 18:42 ` jason at gcc dot gnu.org
  2015-08-17 18:43 ` jason at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-17 18:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Aug 17 18:42:09 2015
New Revision: 226950

URL: https://gcc.gnu.org/viewcvs?rev=226950&root=gcc&view=rev
Log:
        PR c++/67244
        * pt.c (tsubst_copy_and_build): Call insert_pending_capture_proxies.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nested5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


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

* [Bug c++/67244] [5/6 Regression] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801
  2015-08-17  5:59 [Bug c++/67244] New: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801 shadewind at gmail dot com
                   ` (2 preceding siblings ...)
  2015-08-17 18:42 ` [Bug c++/67244] [5/6 Regression] " jason at gcc dot gnu.org
@ 2015-08-17 18:43 ` jason at gcc dot gnu.org
  2015-08-17 18:43 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-17 18:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Aug 17 18:42:26 2015
New Revision: 226951

URL: https://gcc.gnu.org/viewcvs?rev=226951&root=gcc&view=rev
Log:
        PR c++/67244
        * pt.c (tsubst_copy_and_build): Call insert_pending_capture_proxies.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nested5.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/pt.c


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

* [Bug c++/67244] [5/6 Regression] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801
  2015-08-17  5:59 [Bug c++/67244] New: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801 shadewind at gmail dot com
                   ` (3 preceding siblings ...)
  2015-08-17 18:43 ` jason at gcc dot gnu.org
@ 2015-08-17 18:43 ` jason at gcc dot gnu.org
  2015-08-17 19:19 ` trippels at gcc dot gnu.org
  2015-08-17 19:50 ` jason at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-17 18:43 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jason at gcc dot gnu.org
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
   Target Milestone|---                         |5.3

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 5.3/6.


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

* [Bug c++/67244] [5/6 Regression] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801
  2015-08-17  5:59 [Bug c++/67244] New: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801 shadewind at gmail dot com
                   ` (4 preceding siblings ...)
  2015-08-17 18:43 ` jason at gcc dot gnu.org
@ 2015-08-17 19:19 ` trippels at gcc dot gnu.org
  2015-08-17 19:50 ` jason at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-17 19:19 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppluzhnikov at google dot com

--- Comment #7 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
*** Bug 58907 has been marked as a duplicate of this bug. ***


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

* [Bug c++/67244] [5/6 Regression] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801
  2015-08-17  5:59 [Bug c++/67244] New: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801 shadewind at gmail dot com
                   ` (5 preceding siblings ...)
  2015-08-17 19:19 ` trippels at gcc dot gnu.org
@ 2015-08-17 19:50 ` jason at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-17 19:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67244
Bug 67244 depends on bug 62272, which changed state.

Bug 62272 Summary: Gimplify throws error on method call from inside nested lambdas
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62272

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED


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

end of thread, other threads:[~2015-08-17 19:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-17  5:59 [Bug c++/67244] New: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801 shadewind at gmail dot com
2015-08-17  6:25 ` [Bug c++/67244] " trippels at gcc dot gnu.org
2015-08-17  7:09 ` shadewind at gmail dot com
2015-08-17 18:42 ` [Bug c++/67244] [5/6 Regression] " jason at gcc dot gnu.org
2015-08-17 18:43 ` jason at gcc dot gnu.org
2015-08-17 18:43 ` jason at gcc dot gnu.org
2015-08-17 19:19 ` trippels at gcc dot gnu.org
2015-08-17 19:50 ` jason at gcc dot gnu.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).