/cp
commit08de4af3ea2b4e489fa52c4ccd2c729fba38a231
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Feb 2018 21:23:22 +0000 (13 21:23 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Feb 2018 21:23:22 +0000 (13 21:23 +0000)
tree0885f4bb59ba743ef65131f2501c9b4cd248417a
parent80efb81dba017af2b0005f3042907b16a7ec5916
/cp
2018-02-13  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84333
* call.c (build_conditional_expr_1): Use cp_save_expr instead of
save_expr for the G++ extension.

/testsuite
2018-02-13  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84333
* g++.dg/template/sizeof16.C: New.
* g++.dg/template/sizeof17.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257638 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/sizeof16.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/sizeof17.C [new file with mode: 0644]