semantics.c (finish_switch_cond): Improve error message location.
authorPaolo Carlini <paolo.carlini@oracle.com>
Sat, 24 Aug 2019 19:39:44 +0000 (19:39 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 24 Aug 2019 19:39:44 +0000 (19:39 +0000)
commitc6ca0e3e69e2e3681c81d5a5ddd2dcd6f41b7522
tree3bfac7cc3fa58bbf1e2ea170bd0d9c63efd7bc8e
parent22b23ef2379b1abdb80fd293ac1bc0ff1ab6c170
semantics.c (finish_switch_cond): Improve error message location.

/cp
2019-08-24  Paolo Carlini  <paolo.carlini@oracle.com>

* semantics.c (finish_switch_cond): Improve error message location.

/testsuite
2019-08-24  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/conversion/simd4.C: Test all the locations.

From-SVN: r274901
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/simd4.C