[Bug c++/92171] accept incorrect access of static constexpr member when read from a reference

2024-07-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92171 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/92171] accept incorrect access of static constexpr member when read from a reference

2020-07-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92171 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/92171] accept incorrect access of static constexpr member when read from a reference

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92171 --- Comment #3 from Marek Polacek --- Not working on this now, needs to wait till GCC 11.

[Bug c++/92171] accept incorrect access of static constexpr member when read from a reference

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92171 --- Comment #2 from Marek Polacek --- The constexpr evaluator doesn't see the "ref." part at all: VALUE is a static data member, so build_class_member_access_expr produces "value": (gdb) pt result unit-size align:8 warn_if_not

[Bug c++/92171] accept incorrect access of static constexpr member when read from a reference

2020-01-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92171 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|