Fix error location for cilk error message
authorAndi Kleen <ak@linux.intel.com>
Tue, 11 Nov 2014 05:10:24 +0000 (05:10 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Tue, 11 Nov 2014 05:10:24 +0000 (05:10 +0000)
commite64b984d9b74210d8a3db25791558f13a6004be4
treef206602e6dcea7e90bd98915d8ffa3604ea673f1
parent618b7f293745ac92cc4fef113239e84f79c4d4ff
Fix error location for cilk error message

Output the correct location for an existing cilk error message.

gcc/c-family/:

2014-11-10  Andi Kleen  <ak@linux.intel.com>

* cilk.c (recognize_spawn): Use expression location
for error message.

From-SVN: r217333
gcc/c-family/ChangeLog
gcc/c-family/cilk.c