]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
re PR c/56724 (sub-optimal location in error)
authorMarek Polacek <polacek@redhat.com>
Thu, 5 Jun 2014 09:35:05 +0000 (09:35 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 5 Jun 2014 09:35:05 +0000 (09:35 +0000)
commit8ffcdea85552836f18e4a7473fa1cea31feb3944
tree0f8017e92c3a15175fcc55460370e9d8ce98902c
parent55097f65006bb4b76405aba8faf7cca55d2219af
re PR c/56724 (sub-optimal location in error)

PR c/56724
* c-typeck.c (convert_for_assignment): Use expr_loc for ic_argpass.

* gcc.dg/pr56724-3.c: New test.

From-SVN: r211261
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr56724-3.c [new file with mode: 0644]