[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2020-06-25 Thread ttimo at valvesoftware dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #13 from Timothee Besset --- Fix proposed in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95883

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2020-06-25 Thread ttimo at valvesoftware dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 Timothee Besset changed: What|Removed |Added CC||ttimo at valvesoftware dot com ---

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2020-03-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:166c024a1969ca9e77ed450fb65ce5c926a315dc commit r9-8318-g166c024a1969ca9e77ed450fb65ce5c926a315dc Author: Jason Merrill

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #10 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:245e40af4fab5b7cf40fb310591a879355775971 commit r10-6335-g245e40af4fab5b7cf40fb310591a879355775971 Author: Jason Merrill Date:

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-11-28 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #9 from frankhb1989 at gmail dot com --- This seems still problematic. void test1() { []() __attribute__((noreturn)) noexcept [[]] -> int{ return 0; // Warning expected. }(); } void test2() { []() noexcept [[]]

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-11-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Sat Nov 2 06:53:53 2019 New Revision: 277741 URL: https://gcc.gnu.org/viewcvs?rev=277741=gcc=rev Log: PR c++/89640 * parser.c (cp_parser_decl_specifier_seq): Don't parse

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-06-23 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 frankhb1989 at gmail dot com changed: What|Removed |Added CC||frankhb1989 at gmail dot

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #5 from Jason Merrill --- Author: jason Date: Mon Mar 18 19:34:47 2019 New Revision: 269775 URL: https://gcc.gnu.org/viewcvs?rev=269775=gcc=rev Log: PR c++/89640 - GNU attributes on lambda. My patch for PR 60503 to fix

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-11 Thread redbeard0531 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #4 from Mathias Stearn --- @Jakub, This code doesn't have either mutable or noexcept, so the "wrong place in the grammer" issue doesn't apply. That part of the fix seems correct and useful. While it seems correct to fix what the

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-11 Thread redbeard0531 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #2 from Mathias Stearn --- Unfortunately the c++ attributes syntax applies to the lambda type rather than the function, so the warning is correct. The old style __attribute__ syntax seems to be the only way to annotate the lambda

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---