public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58083] New: ICE with lambda as default parameter of a template function
@ 2013-08-05  1:50 i.zaufi at gmail dot com
  2013-08-05  1:51 ` [Bug c++/58083] " i.zaufi at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: i.zaufi at gmail dot com @ 2013-08-05  1:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58083
           Summary: ICE with lambda as default parameter of a template
                    function
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: i.zaufi at gmail dot com

Created attachment 30614
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30614&action=edit
preprocessed buggy file

I know that my code is incorrect and shouldn't work, but ICE shouldn't happen
anyway.
I tried to play w/ SFINAE and using lambdas to do a 'concept checking' w/ a
native C++ syntax, but really soon got an ICE w/ that code


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

* [Bug c++/58083] ICE with lambda as default parameter of a template function
  2013-08-05  1:50 [Bug c++/58083] New: ICE with lambda as default parameter of a template function i.zaufi at gmail dot com
@ 2013-08-05  1:51 ` i.zaufi at gmail dot com
  2013-08-05  9:02 ` [Bug c++/58083] [4.8/4.9 Regression] " paolo.carlini at oracle dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: i.zaufi at gmail dot com @ 2013-08-05  1:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Alex Turbov <i.zaufi at gmail dot com> ---
Created attachment 30615
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30615&action=edit
original source code


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

* [Bug c++/58083] [4.8/4.9 Regression] ICE with lambda as default parameter of a template function
  2013-08-05  1:50 [Bug c++/58083] New: ICE with lambda as default parameter of a template function i.zaufi at gmail dot com
  2013-08-05  1:51 ` [Bug c++/58083] " i.zaufi at gmail dot com
@ 2013-08-05  9:02 ` paolo.carlini at oracle dot com
  2013-08-07 20:40 ` jason at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-05  9:02 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-08-05
            Summary|ICE with lambda as default  |[4.8/4.9 Regression] ICE
                   |parameter of a template     |with lambda as default
                   |function                    |parameter of a template
                   |                            |function
     Ever confirmed|0                           |1

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Without the *it; bit the testcase seems valid to me and compiled fine with
4.7.x.


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

* [Bug c++/58083] [4.8/4.9 Regression] ICE with lambda as default parameter of a template function
  2013-08-05  1:50 [Bug c++/58083] New: ICE with lambda as default parameter of a template function i.zaufi at gmail dot com
  2013-08-05  1:51 ` [Bug c++/58083] " i.zaufi at gmail dot com
  2013-08-05  9:02 ` [Bug c++/58083] [4.8/4.9 Regression] " paolo.carlini at oracle dot com
@ 2013-08-07 20:40 ` jason at gcc dot gnu.org
  2013-08-13 17:44 ` daniel.kruegler at googlemail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2013-08-07 20:40 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jason at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org


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

* [Bug c++/58083] [4.8/4.9 Regression] ICE with lambda as default parameter of a template function
  2013-08-05  1:50 [Bug c++/58083] New: ICE with lambda as default parameter of a template function i.zaufi at gmail dot com
                   ` (2 preceding siblings ...)
  2013-08-07 20:40 ` jason at gcc dot gnu.org
@ 2013-08-13 17:44 ` daniel.kruegler at googlemail dot com
  2013-08-16 13:50 ` jakub at gcc dot gnu.org
  2013-08-18  1:07 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: daniel.kruegler at googlemail dot com @ 2013-08-13 17:44 UTC (permalink / raw)
  To: gcc-bugs

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

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler@googlemail.
                   |                            |com

--- Comment #3 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
For gcc 4.9.0 20130616 (experimental) I got:

"main.cpp|18|internal compiler error: in push_class_level_binding_1, at
cp/name-lookup.c:3067"

on my mingw 64 bit system
>From gcc-bugs-return-427792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Aug 13 18:01:15 2013
Return-Path: <gcc-bugs-return-427792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11743 invoked by alias); 13 Aug 2013 18:01:15 -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 11686 invoked by uid 48); 13 Aug 2013 18:01:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/58010] [4.8/4.9 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4378
Date: Tue, 13 Aug 2013 18:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.8.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-58010-4-UY7zULxxfN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58010-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58010-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: 2013-08/txt/msg00716.txt.bz2
Content-length: 518

http://gcc.gnu.org/bugzilla/show_bug.cgi?idX010

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
With -O2 -funswitch-loops -fvectorize -fno-vect-const-model it started with
r178728 .
Richard, when you are back, can you please look at this?


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

* [Bug c++/58083] [4.8/4.9 Regression] ICE with lambda as default parameter of a template function
  2013-08-05  1:50 [Bug c++/58083] New: ICE with lambda as default parameter of a template function i.zaufi at gmail dot com
                   ` (3 preceding siblings ...)
  2013-08-13 17:44 ` daniel.kruegler at googlemail dot com
@ 2013-08-16 13:50 ` jakub at gcc dot gnu.org
  2013-08-18  1:07 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-08-16 13:50 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |4.8.2


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

* [Bug c++/58083] [4.8/4.9 Regression] ICE with lambda as default parameter of a template function
  2013-08-05  1:50 [Bug c++/58083] New: ICE with lambda as default parameter of a template function i.zaufi at gmail dot com
                   ` (4 preceding siblings ...)
  2013-08-16 13:50 ` jakub at gcc dot gnu.org
@ 2013-08-18  1:07 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2013-08-18  1:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed in r201822 (trunk) and r201823 (4.8).


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

end of thread, other threads:[~2013-08-18  1:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-05  1:50 [Bug c++/58083] New: ICE with lambda as default parameter of a template function i.zaufi at gmail dot com
2013-08-05  1:51 ` [Bug c++/58083] " i.zaufi at gmail dot com
2013-08-05  9:02 ` [Bug c++/58083] [4.8/4.9 Regression] " paolo.carlini at oracle dot com
2013-08-07 20:40 ` jason at gcc dot gnu.org
2013-08-13 17:44 ` daniel.kruegler at googlemail dot com
2013-08-16 13:50 ` jakub at gcc dot gnu.org
2013-08-18  1:07 ` 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).