[Bug c++/64382] ICE due to use of `this` inside a lambda that captures everything by ref inside a member function of a class template

2017-01-27 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64382 Adam Butcher changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/64382] ICE due to use of `this` inside a lambda that captures everything by ref inside a member function of a class template

2017-01-27 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64382 --- Comment #7 from Adam Butcher --- Author: abutcher Date: Fri Jan 27 07:59:06 2017 New Revision: 244962 URL: https://gcc.gnu.org/viewcvs?rev=244962=gcc=rev Log: Fix PR c++/64382 PR c++/64382 * cp/parser.c

[Bug c++/64382] ICE due to use of `this` inside a lambda that captures everything by ref inside a member function of a class template

2017-01-19 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64382 Adam Butcher changed: What|Removed |Added Status|RESOLVED|ASSIGNED Resolution|DUPLICATE

[Bug c++/61636] generic lambda: segfault / "cannot call member function without object"

2017-01-19 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 --- Comment #26 from Adam Butcher --- (In reply to Nathan Sidwell from comment #25) > Fixed. We capture this if we find at least one non-static member function. > This agrees with Clang's implementation, after discussion with Richard Smith. >

[Bug c++/77914] Wrong lambda definition accepted

2016-12-15 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77914 --- Comment #4 from Adam Butcher --- (In reply to Michele Caini from comment #3) > (In reply to Jakub Jelinek from comment #1) > > Shall we remove that altogether, or just pedwarn on it? > > I suspect it should be rejected, unless it is an

[Bug c++/61636] generic lambda: segfault / "cannot call member function without object"

2016-12-15 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 Adam Butcher changed: What|Removed |Added Assignee|abutcher at gcc dot gnu.org|unassigned at gcc dot gnu.org

[Bug c++/69139] [4.9/5/6 Regression] deduction failure with trailing return type in function template argument

2016-02-08 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69139 --- Comment #5 from Adam Butcher --- The patch at https://gcc.gnu.org/ml/gcc-patches/2016-02/msg00561.html adds handling for cv/ref mentioned by TC in #c3. I've added handling of tx and exception specs to.

[Bug c++/69139] [4.9/5/6 Regression] deduction failure with trailing return type in function template argument

2016-02-08 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69139 --- Comment #4 from Adam Butcher --- @TC: Good call. The patch at https://gcc.gnu.org/ml/gcc-patches/2016-02/msg00495.html doesn't handle cv/ref qualifiers. I've expanded the testcase locally and will fix up the look-ahead solution to handle

[Bug c++/69139] [4.9/5/6 Regression] deduction failure with trailing return type in function template argument

2016-02-08 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69139 Adam Butcher changed: What|Removed |Added Assignee|abutcher at gcc dot gnu.org|unassigned at gcc dot gnu.org

[Bug c++/65750] [4.9/5 Regression] misinterpret in a virtual member function with a C++11 style function signature

2015-04-14 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65750 --- Comment #5 from Adam Butcher abutcher at gcc dot gnu.org --- This lookahead sketch (https://gcc.gnu.org/ml/gcc-patches/2015-04/msg00712.html) appears to work but I've don't limited testing.

[Bug c++/65750] [4.9/5 Regression] misinterpret in a virtual member function with a C++11 style function signature

2015-04-13 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65750 --- Comment #3 from Adam Butcher abutcher at gcc dot gnu.org --- Agreed. Upon seeing the 'auto' in the parameter list, we'll synthesize a template parameter for 'g'. I think Paolo added the diagnostic for virtual to fix an ICE. I'm not sure

[Bug c++/64382] ICE due to use of `this` inside a lambda that captures everything by ref inside a member function of a class template

2015-04-13 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64382 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org

[Bug c++/64382] ICE due to use of `this` inside a lambda that captures everything by ref inside a member function of a class template

2015-03-09 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64382 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/61636] generic lambda cannot call member function without object

2015-03-09 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added CC||lh_mouse

[Bug c++/61636] generic lambda cannot call member function without object

2015-03-09 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 --- Comment #12 from Adam Butcher abutcher at gcc dot gnu.org --- If the containing context is made a template (as per pr64382 and pr64466) or if the patch below is made to lambda.c, the synthesized default 'this' looks to get captured OK

[Bug c++/64382] ICE due to use of `this` inside a lambda that captures everything by ref inside a member function of a class template

2015-03-09 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64382 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added CC||abutcher

[Bug c++/61636] generic lambda cannot call member function without object

2014-07-07 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 --- Comment #8 from Adam Butcher abutcher at gcc dot gnu.org --- (In reply to tower120 from comment #7) I'm not sure what you mean, about adding this-. I meant spelling fn1(data) as this-fn1(data) to explicitly specify the subject

[Bug c++/61636] generic lambda cannot call member function without object

2014-07-07 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 --- Comment #9 from Adam Butcher abutcher at gcc dot gnu.org --- (In reply to Adam Butcher from comment #8) There are no overloads of 'fn1' that can accept a 'B'. Oops, sorry. I meant to say that there are no overloads of 'fn1' that can accept

[Bug c++/61636] generic lambda cannot call member function without object

2014-07-06 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added CC|adam at jessamine dot co.uk

[Bug c++/61636] generic lambda cannot call member function without object

2014-07-06 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 --- Comment #5 from Adam Butcher abutcher at gcc dot gnu.org --- In an attempt to get a reduced testcase, I've uncovered an ICE. With the extra this- qualification on the reference to 'f' below, the code compiles fine. Alternatively

[Bug c++/61636] generic lambda cannot call member function without object

2014-07-06 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/61537] [4.9/4.10 Regression] template parameter lists wrongly detected on struct or class keyword on parameters

2014-06-26 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61537 --- Comment #9 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Thu Jun 26 18:33:57 2014 New Revision: 212045 URL: https://gcc.gnu.org/viewcvs?rev=212045root=gccview=rev Log: Fix PR c++/61537 * parser.c

[Bug c++/61537] [4.9/4.10 Regression] template parameter lists wrongly detected on struct or class keyword on parameters

2014-06-26 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61537 --- Comment #10 from Adam Butcher abutcher at gcc dot gnu.org --- Fixed in 4.9.1

[Bug c++/61537] [4.9/4.10 Regression] template parameter lists wrongly detected on struct or class keyword on parameters

2014-06-25 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61537 --- Comment #7 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Thu Jun 26 05:12:52 2014 New Revision: 212008 URL: https://gcc.gnu.org/viewcvs?rev=212008root=gccview=rev Log: Fix PR c++/61537 * parser.c

[Bug c++/61537] [4.9/4.10 Regression] template parameter lists wrongly detected on struct or class keyword on parameters

2014-06-25 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61537 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/61537] [4.9/4.10 Regression] template parameter lists wrongly detected on struct or class keyword on parameters

2014-06-24 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61537 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org

[Bug c++/60626] [c++1y] ICE with pointer to function with auto parameter

2014-03-29 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60626 --- Comment #1 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Sat Mar 29 19:23:44 2014 New Revision: 208940 URL: http://gcc.gnu.org/viewcvs?rev=208940root=gccview=rev Log: Fix PR c++/60626 PR c++/60626

[Bug c++/60626] [c++1y] ICE with pointer to function with auto parameter

2014-03-29 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60626 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/60573] [c++1y] ICE with defining generic function of nested class in class scope

2014-03-28 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60573 --- Comment #1 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Fri Mar 28 20:41:45 2014 New Revision: 208921 URL: http://gcc.gnu.org/viewcvs?rev=208921root=gccview=rev Log: Fix PR c++/60573 PR c++/60573 * name

[Bug c++/60573] [c++1y] ICE with defining generic function of nested class in class scope

2014-03-28 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60573 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/60627] [c++1y] ICE in explicit template instantiation containing auto parameter

2014-03-24 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60627 --- Comment #1 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Mon Mar 24 20:40:15 2014 New Revision: 208799 URL: http://gcc.gnu.org/viewcvs?rev=208799root=gccview=rev Log: Fix PR c++/60627 PR c++/60627

[Bug c++/60627] [c++1y] ICE in explicit template instantiation containing auto parameter

2014-03-24 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60627 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/60626] [c++1y] ICE with pointer to function with auto parameter

2014-03-24 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60626 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2014-03-23

[Bug c++/60626] [c++1y] ICE with pointer to function with auto parameter

2014-03-24 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60626 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/60573] [c++1y] ICE with defining generic function of nested class in class scope

2014-03-18 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60573 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/60390] [c++1y] ICE with declaring function with auto parameter as friend

2014-03-17 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60390 --- Comment #1 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Mon Mar 17 20:02:26 2014 New Revision: 208625 URL: http://gcc.gnu.org/viewcvs?rev=208625root=gccview=rev Log: Fix PR c++/60390 PR c++/60390

[Bug c++/60391] [c++1y] ICE with auto parameter for operator

2014-03-17 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60391 --- Comment #1 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Mon Mar 17 20:02:16 2014 New Revision: 208624 URL: http://gcc.gnu.org/viewcvs?rev=208624root=gccview=rev Log: Fix PR c++/60391 PR c++/60391

[Bug c++/60391] [c++1y] ICE with auto parameter for operator

2014-03-17 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60391 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/60390] [c++1y] ICE with declaring function with auto parameter as friend

2014-03-17 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60390 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/60391] [c++1y] ICE with auto parameter for operator

2014-03-15 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60391 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |abutcher

[Bug c++/60391] [c++1y] ICE with auto parameter for operator

2014-03-15 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60391 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/60390] [c++1y] ICE with declaring function with auto parameter as friend

2014-03-15 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60390 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/60393] [c++1y] ICE with with invalid functions with auto parameters

2014-03-08 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60393 --- Comment #1 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Sat Mar 8 09:33:03 2014 New Revision: 208426 URL: http://gcc.gnu.org/viewcvs?rev=208426root=gccview=rev Log: Fix PR c++/60393 PR c++/60393

[Bug c++/60033] [c++1y] ICE in retrieve_specialization while compiling recursive generic lambda

2014-03-08 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033 --- Comment #8 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Sat Mar 8 09:33:12 2014 New Revision: 208427 URL: http://gcc.gnu.org/viewcvs?rev=208427root=gccview=rev Log: Fix PR c++/60033 PR c++/60033 * pt.c

[Bug c++/60033] [c++1y] ICE in retrieve_specialization while compiling recursive generic lambda

2014-03-08 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/60393] [c++1y] ICE with with invalid functions with auto parameters

2014-03-08 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60393 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/60033] [c++1y] ICE in retrieve_specialization while compiling recursive generic lambda

2014-03-02 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033 --- Comment #6 from Adam Butcher abutcher at gcc dot gnu.org --- A further reduced testcase: // PR c++/60033 // { dg-options -std=c++1y } template typename... T auto f(T... ts) { return sizeof...(ts); } template typename... T auto g(T... ts

[Bug c++/60033] [c++1y] ICE in retrieve_specialization while compiling recursive generic lambda

2014-03-02 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033 --- Comment #7 from Adam Butcher abutcher at gcc dot gnu.org --- (In reply to Adam Butcher from comment #6) return [] (int v) { return f(ts...); }; Should have been: return [] (auto v) { return f(ts...); }; The 'int' version

[Bug c++/60377] [c++1y] ICE with invalid function parameter in conjunction with auto parameter

2014-03-01 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60377 --- Comment #1 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Sat Mar 1 21:28:18 2014 New Revision: 208250 URL: http://gcc.gnu.org/viewcvs?rev=208250root=gccview=rev Log: Fix PR c++/60377. PR c++/60377

[Bug c++/60312] [4.9 Regression] [c++1y] ICE using auto as template parameter

2014-02-24 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60312 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added CC||abutcher at gcc

[Bug c++/60312] [4.9 Regression] [c++1y] ICE using auto as template parameter

2014-02-24 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60312 --- Comment #5 from Adam Butcher abutcher at gcc dot gnu.org --- Actually strike that, my [local] changes relating to PR c++/60065 (http://gcc.gnu.org/ml/gcc-patches/2014-02/msg01437.html) seem to have changed the behavior.

[Bug c++/60065] [c++1y] ICE with auto parameter pack

2014-02-24 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60065 --- Comment #3 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Tue Feb 25 03:47:24 2014 New Revision: 208106 URL: http://gcc.gnu.org/viewcvs?rev=208106root=gccview=rev Log: Fix PR c++/60065. PR c++/60065

[Bug c++/60311] [c++1y] ICE with pointer-to-function with auto parameter

2014-02-24 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60311 --- Comment #1 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Tue Feb 25 06:44:53 2014 New Revision: 208111 URL: http://gcc.gnu.org/viewcvs?rev=208111root=gccview=rev Log: Fix PR c++/60311. PR c++/60311

[Bug c++/60053] [c++1y] ICE with auto as member template function parameter

2014-02-20 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60053 --- Comment #1 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Fri Feb 21 07:47:55 2014 New Revision: 207980 URL: http://gcc.gnu.org/viewcvs?rev=207980root=gccview=rev Log: Fix PR c++/60052 and PR c++/60053. PR c

[Bug c++/60052] [c++1y] ICE with auto as member function parameter

2014-02-20 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60052 --- Comment #1 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Fri Feb 21 07:47:55 2014 New Revision: 207980 URL: http://gcc.gnu.org/viewcvs?rev=207980root=gccview=rev Log: Fix PR c++/60052 and PR c++/60053. PR c

[Bug c++/60065] [c++1y] ICE with auto parameter pack

2014-02-19 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60065 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added CC||abutcher at gcc

[Bug c++/60065] [c++1y] ICE with auto parameter pack

2014-02-19 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60065 --- Comment #2 from Adam Butcher abutcher at gcc dot gnu.org --- Turns out the base template parameter index was not been initialized correctly so it was trying to convert the 'int' parameter to a pack as well as the invented template parameter

[Bug c++/60190] [c++1y] ICE with invalid return type of template lambda

2014-02-18 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60190 --- Comment #4 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Tue Feb 18 21:07:48 2014 New Revision: 207852 URL: http://gcc.gnu.org/viewcvs?rev=207852root=gccview=rev Log: Fix PR c++/60190. PR c++/60190

[Bug c++/60064] [c++1y] ICE with auto as parameter of friend function

2014-02-18 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60064 --- Comment #2 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Tue Feb 18 22:29:56 2014 New Revision: 207856 URL: http://gcc.gnu.org/viewcvs?rev=207856root=gccview=rev Log: Fix PR c++/60064. PR c++/60064

[Bug c++/60033] ICE in retrieve_specialization while compiling recursive generic lambda

2014-02-03 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added CC||abutcher at gcc

[Bug c++/60033] ICE in retrieve_specialization while compiling recursive generic lambda

2014-02-03 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033 Adam Butcher abutcher at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc

[Bug c++/60033] ICE in retrieve_specialization while compiling recursive generic lambda

2014-02-03 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033 --- Comment #5 from Adam Butcher abutcher at gcc dot gnu.org --- Turns out that the above breaks the generic lambda variadic testcase: auto vglambda = [](auto printer) { return [=](auto ... ts) { // OK: ts is a function parameter pack

[Bug c++/59635] [c++1y] ICE with auto and ... as lambda parameter

2014-01-06 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59635 --- Comment #2 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Mon Jan 6 18:22:19 2014 New Revision: 206368 URL: http://gcc.gnu.org/viewcvs?rev=206368root=gccview=rev Log: Fix PR c++/59635 PR c++/59635 * cp

[Bug c++/59636] [c++1y] ICE with missing template parameter in lambda

2014-01-06 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59636 --- Comment #2 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Mon Jan 6 18:22:29 2014 New Revision: 206369 URL: http://gcc.gnu.org/viewcvs?rev=206369root=gccview=rev Log: Fix PR c++/59636 PR c++/59636 * cp

[Bug c++/59629] [4.9 Regression] [c++11] ICE with invalid use of auto in lambda function

2014-01-06 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59629 --- Comment #1 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Mon Jan 6 18:22:38 2014 New Revision: 206370 URL: http://gcc.gnu.org/viewcvs?rev=206370root=gccview=rev Log: Fix PR c++/59629 PR c++/59629 * cp

[Bug c++/59638] [c++1y] ICE with pointer to function that has auto as parameter

2014-01-06 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59638 --- Comment #3 from Adam Butcher abutcher at gcc dot gnu.org --- Author: abutcher Date: Mon Jan 6 18:22:48 2014 New Revision: 206371 URL: http://gcc.gnu.org/viewcvs?rev=206371root=gccview=rev Log: Fix PR c++/59638 PR c++/59638 * cp

[Bug c++/59113] [c++1y] ICE using auto as parameter in local function

2013-11-24 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59113 --- Comment #1 from abutcher at gcc dot gnu.org --- Author: abutcher Date: Mon Nov 25 07:43:55 2013 New Revision: 205343 URL: http://gcc.gnu.org/viewcvs?rev=205343root=gccview=rev Log: Disallow implicit function templates in local functions

[Bug c++/59112] [c++1y] ICE using auto as parameter in local class

2013-11-24 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59112 --- Comment #1 from abutcher at gcc dot gnu.org --- Author: abutcher Date: Mon Nov 25 07:43:55 2013 New Revision: 205343 URL: http://gcc.gnu.org/viewcvs?rev=205343root=gccview=rev Log: Disallow implicit function templates in local functions

[Bug c++/58533] [c++1y] ICE with auto in function pointer

2013-11-14 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58533 --- Comment #3 from abutcher at gcc dot gnu.org --- Author: abutcher Date: Thu Nov 14 08:26:21 2013 New Revision: 204776 URL: http://gcc.gnu.org/viewcvs?rev=204776root=gccview=rev Log: Added testcase for 58533, fixed by rev 204714. gcc/testsuite

[Bug c++/58534] [c++1y] ICE with auto in template function parameters

2013-11-12 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58534 --- Comment #1 from abutcher at gcc dot gnu.org --- Author: abutcher Date: Tue Nov 12 20:17:33 2013 New Revision: 204714 URL: http://gcc.gnu.org/viewcvs?rev=204714root=gccview=rev Log: Refactor implicit function template implementation and fix

[Bug c++/58536] [c++1y] ICE with auto in constructor

2013-11-12 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58536 --- Comment #3 from abutcher at gcc dot gnu.org --- Author: abutcher Date: Tue Nov 12 20:17:33 2013 New Revision: 204714 URL: http://gcc.gnu.org/viewcvs?rev=204714root=gccview=rev Log: Refactor implicit function template implementation and fix

[Bug c++/58637] [c++1y] ICE with wrong usage of template in front of function containing auto parameter

2013-11-12 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58637 --- Comment #1 from abutcher at gcc dot gnu.org --- Author: abutcher Date: Tue Nov 12 20:17:33 2013 New Revision: 204714 URL: http://gcc.gnu.org/viewcvs?rev=204714root=gccview=rev Log: Refactor implicit function template implementation and fix

[Bug c++/58549] [4.9 Regression] [c++1y] ICE with local function in function with auto parameter

2013-11-12 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58549 --- Comment #6 from abutcher at gcc dot gnu.org --- Author: abutcher Date: Tue Nov 12 20:17:33 2013 New Revision: 204714 URL: http://gcc.gnu.org/viewcvs?rev=204714root=gccview=rev Log: Refactor implicit function template implementation and fix

[Bug c++/58548] [4.9 Regression] [c++1y] ICE with local struct in function with auto parameter

2013-11-12 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58548 --- Comment #4 from abutcher at gcc dot gnu.org --- Author: abutcher Date: Tue Nov 12 20:17:33 2013 New Revision: 204714 URL: http://gcc.gnu.org/viewcvs?rev=204714root=gccview=rev Log: Refactor implicit function template implementation and fix

[Bug c++/58500] [C++1y] Crash with auto in function parameter

2013-09-23 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58500 --- Comment #2 from abutcher at gcc dot gnu.org --- Author: abutcher Date: Mon Sep 23 22:43:44 2013 New Revision: 202851 URL: http://gcc.gnu.org/viewcvs?rev=202851root=gccview=rev Log: Fix 58500. gcc/cp/ PR c++/58500 * type-utils.h