/cp
commit1273a0b4923f1336899db2582d563d763c948845
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 2013 22:49:24 +0000 (21 22:49 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 2013 22:49:24 +0000 (21 22:49 +0000)
tree18afd650a973e2d7b285417843b384e1a2fe755a
parent64e4dbeac146a3aa3682b83d635fc08cd7371c1a
/cp
2013-05-21  Paolo Carlini  <paolo.carlini@oracle.com>

* call.c (build_conditional_expr_1): Add location_t parameter.
(build_conditional_expr): Likewise.
* typeck.c (rationalize_conditional_expr, cp_build_array_ref,
get_member_function_from_ptrfunc, build_x_conditional_expr,
cp_build_modify_expr): Update.
* init.c (build_new_1): Likewise.
* cp-tree.h: Update declaration.

/testsuite
2013-05-21  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp0x/explicit3.C: Add column in dg-error strings.
* g++.dg/warn/Wdouble-promotion.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199166 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/explicit3.C
gcc/testsuite/g++.dg/warn/Wdouble-promotion.C