[Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"

2022-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid Known to fail|

[Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"

2020-01-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"

2019-02-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Thu Feb 14 22:57:34 2019 New Revision: 268908 URL: https://gcc.gnu.org/viewcvs?rev=268908=gcc=rev Log: Don't offer suggestions for compiler-generated variables (PR c++/85515)

[Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"

2018-07-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed Jul 25 16:46:34 2018 New Revision: 262975 URL: https://gcc.gnu.org/viewcvs?rev=262975=gcc=rev Log: PR c++/85515 * cp-tree.h (enum cp_tree_index): Add

[Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"

2018-04-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Fri Apr 27 18:39:18 2018 New Revision: 259720 URL: https://gcc.gnu.org/viewcvs?rev=259720=gcc=rev Log: Don't offer suggestions for compiler-generated variables (PR c++/85515)

[Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"

2018-04-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515 --- Comment #4 from David Malcolm --- Also affects gcc 7 and gcc 6 branches.

[Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"

2018-04-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515 --- Comment #3 from David Malcolm --- Some examples of using the leaky abstractions, adapted from the video: int main () { auto lambda = [val = 2](){ return val; }; //lambda.__val = 4; return lambda(); } On uncommenting the assignment,

[Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"

2018-04-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515 David Malcolm changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"

2018-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515 --- Comment #1 from Richard Biener --- Maybe the fields should be DECL_ARTIFICIAL and we shouldn't suggest such fields? Or we make them DECL_NAMELESS instead? [both have effects on debuginfo as well]