2018-11-01 Martin Liska <mliska@suse.cz>
Jason Merrill <jason@redhat.com>
PR c++/64266
PR bootstrap/70422
PR ipa/81277
* cp-tree.h (DECL_FNAME_P): New macro.
* decl.c (cp_make_fname_decl): Set DECL_DECLARED_CONSTEXPR_P,
DECL_VALUE_EXPR, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P.
(cp_finish_decl):
* lambda.c (is_capture_proxy): Use DECL_FNAME_P.
* pt.c (tsubst_expr): Handle DECL_PRETTY_FUNCTION_P.
2018-11-01 Martin Liska <mliska@suse.cz>
Jason Merrill <jason@redhat.com>
PR c++/64266
PR bootstrap/70422
PR ipa/81277
* g++.dg/cpp0x/constexpr-__func__2.C: Make it a compilation
test.
* g++.old-deja/g++.ext/pretty4.C: Remove as the run-time
assumptions are not longer valid.
Co-Authored-By: Jason Merrill <jason@redhat.com>
From-SVN: r265711
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| addrfunc1.C | Loading commit data... | |
| addrfunc2.C | Loading commit data... | |
| addrfunc3.C | Loading commit data... | |
| addrfunc4.C | Loading commit data... | |
| anon1.C | Loading commit data... | |
| anon2.C | Loading commit data... | |
| anon3.C | Loading commit data... | |
| array1.C | Loading commit data... | |
| array2.C | Loading commit data... | |
| array3.C | Loading commit data... | |
| array4.C | Loading commit data... | |
| arrnew.C | Loading commit data... | |
| arrnew2.C | Loading commit data... | |
| asmspec1.C | Loading commit data... | |
| attrib1.C | Loading commit data... | |
| attrib2.C | Loading commit data... | |
| attrib3.C | Loading commit data... | |
| attrib4.C | Loading commit data... | |
| attrib5.C | Loading commit data... | |
| attrib6.C | Loading commit data... | |
| bound1.C | Loading commit data... | |
| constructor.C | Loading commit data... | |
| default.C | Loading commit data... | |
| delvoid.C | Loading commit data... | |
| jump1.C | Loading commit data... | |
| label1.C | Loading commit data... | |
| label2.C | Loading commit data... | |
| memconst.C | Loading commit data... | |
| namedret1.C | Loading commit data... | |
| namedret2.C | Loading commit data... | |
| namedret3.C | Loading commit data... | |
| noweak1.C | Loading commit data... | |
| null1.C | Loading commit data... | |
| overload1.C | Loading commit data... | |
| pretty.C | Loading commit data... | |
| pretty2.C | Loading commit data... | |
| pretty3.C | Loading commit data... | |
| restrict1.C | Loading commit data... | |
| return1.C | Loading commit data... | |
| stmtexpr1.C | Loading commit data... | |
| syshdr1.C | Loading commit data... | |
| typename1.C | Loading commit data... | |
| typeof1.C | Loading commit data... | |
| typeof2.C | Loading commit data... |