pt.c (check_for_bare_parameter_packs): Improve error message location for expressions.
authorPaolo Carlini <paolo@gcc.gnu.org>
Mon, 23 May 2016 19:20:41 +0000 (19:20 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 23 May 2016 19:20:41 +0000 (19:20 +0000)
commit396a1d10b3822a6da4794309a28ce3b1ea309325
tree33cff4ba8797c3124dfc5815eabf4a672f5712f8
parentf48b4284312063565ecfed52591fa201b0469730
pt.c (check_for_bare_parameter_packs): Improve error message location for expressions.

/cp
2016-05-23  Paolo Carlini  <paolo.carlini@oracle.com>

* pt.c (check_for_bare_parameter_packs): Improve error message
location for expressions.

/testsuite
2016-05-23  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp0x/pr31445.C: Test column number too.
* g++.dg/cpp0x/pr32253.C: Likewise.
* g++.dg/cpp0x/variadic-ex13.C: Likewise.
* g++.dg/cpp0x/variadic36.C: Likewise.

From-SVN: r236609
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr31445.C
gcc/testsuite/g++.dg/cpp0x/pr32253.C
gcc/testsuite/g++.dg/cpp0x/variadic-ex13.C
gcc/testsuite/g++.dg/cpp0x/variadic36.C