This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instanciate some objects
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Jun 2017 15:25:36 +0000
- Subject: [Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instanciate some objects
- Auto-submitted: auto-generated
- References: <bug-81073-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81073
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
r217662 is correct (i.e. defines the variable), r217663 gives an ICE, which
persists until r217748 which compiles it again but fails to define the
variable.
commit da7981e061ae97c7f83ed4ace5cf725e6fe0cffb
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed Nov 19 03:03:39 2014 +0000
* constexpr.c (cxx_eval_statement_list): Handle statement-expressions.
(potential_constant_expression_1): Handle STMT_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217748
138bc75d-0d04-0410-961f-82ee72b054a4