]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/constexpr.c
Fix template/ref1.C, nontype15.C, addr-builtin1.C with -std=c++1z.
authorJason Merrill <jason@redhat.com>
Mon, 7 Dec 2015 04:34:57 +0000 (23:34 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 7 Dec 2015 04:34:57 +0000 (23:34 -0500)
commit19dedccfc36a34b843292e6493c7ffd429673de2
treebf18eed02d681288b0f674e475652125572c8032
parentaabdb83166b53a13956071f0e01f841a184340f7
Fix template/ref1.C, nontype15.C, addr-builtin1.C with -std=c++1z.

* parser.c (cp_parser_template_argument): Handle references in
C++1z mode.
* constexpr.c (potential_constant_expression_1): Don't error about
TREE_THIS_VOLATILE on declarations.
[COMPONENT_REF]: Don't consider the object if we're dealing with an
overloaded function.

From-SVN: r231351
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/parser.c
gcc/testsuite/g++.dg/template/nontype8.C
This page took 0.06049 seconds and 5 git commands to generate.