]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
c-typeck.c (set_init_label): Call error_at instead of error and pass LOC to it.
authorMarek Polacek <polacek@redhat.com>
Thu, 30 Apr 2015 09:28:48 +0000 (09:28 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 30 Apr 2015 09:28:48 +0000 (09:28 +0000)
commit9babc352483293e84371af273b1aa1be037cdf31
tree183c206c1e7758eb0e2f52fb82d6947aff7124df
parentc064f154a65870a48131f699312d312b7ae1cc81
c-typeck.c (set_init_label): Call error_at instead of error and pass LOC to it.

* c-typeck.c (set_init_label): Call error_at instead of error and
pass LOC to it.

* gcc.dg/init-bad-8.c: New test.

From-SVN: r222613
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/init-bad-8.c [new file with mode: 0644]