This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71504] bogus error: accessing value through a glvalue in a constant expression
- From: "kot.tom97 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Jul 2017 17:50:29 +0000
- Subject: [Bug c++/71504] bogus error: accessing value through a glvalue in a constant expression
- Auto-submitted: auto-generated
- References: <bug-71504-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71504
Tom Westerhout <kot.tom97 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kot.tom97 at gmail dot com
--- Comment #2 from Tom Westerhout <kot.tom97 at gmail dot com> ---
Hi!
I'm working on a library that does a lot of work inside constexpr
functions. In simple cases like the example above it's relatively easy
to avoid this bug. In real life, however, it's almost impossible.
Although this bug is not considered important, it it important for
me. Currently, it is the only reason my library doesn't work with GCC.
I'd really appreciate it if this bug was assigned to someone. If there
are no volunteers, I'd be happy to help myself. Unfortunately, I'm not
familiar with GCC's code base at all. So some pointers to where I can
get started would be very helpful.
Tom