]> gcc.gnu.org Git - gcc.git/commit - gcc/c-family/ChangeLog
c-common.c (check_case_value): Add location_t parameter.
authorMarek Polacek <polacek@redhat.com>
Sun, 3 Aug 2014 12:23:03 +0000 (12:23 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Sun, 3 Aug 2014 12:23:03 +0000 (12:23 +0000)
commit62e4eb3553f9ce05a6d08a1ef7d8e59f81aeeee6
tree2584046c0dbb8332881d593db7cd195a717b30ce
parent87d5ce4856710235e9dbb728d3c05a8907e1c804
c-common.c (check_case_value): Add location_t parameter.

* c-common.c (check_case_value):  Add location_t parameter.  Use it.
(c_add_case_label): Pass loc to check_case_value.

* gcc.dg/case-bogus-1.c: New test.

From-SVN: r213525
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/case-bogus-1.c [new file with mode: 0644]
This page took 0.067595 seconds and 5 git commands to generate.