diff options
author | Marek Polacek <polacek@redhat.com> | 2014-06-04 07:26:06 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-06-04 07:26:06 +0000 |
commit | 9d548dfb6738782cde9d4d5653b3a834cb2ebf7d (patch) | |
tree | 9e9bd176114cc68c557138b3d6cb0a93292ca2b8 /gcc/c/c-array-notation.c | |
parent | 348d4b0a54328f618754aa5f7f7067ea50e7b3bc (diff) | |
download | gcc-9d548dfb6738782cde9d4d5653b3a834cb2ebf7d.zip gcc-9d548dfb6738782cde9d4d5653b3a834cb2ebf7d.tar.gz gcc-9d548dfb6738782cde9d4d5653b3a834cb2ebf7d.tar.bz2 |
re PR c/30020 (improve diagnostics for limited range warning for a switch statement)
PR c/30020
* c-common.c (check_case_bounds): Add location parameter.
Use it.
(c_add_case_label): Pass loc to check_case_bounds.
* c-c++-common/pr30020.c: New test.
From-SVN: r211212
Diffstat (limited to 'gcc/c/c-array-notation.c')
0 files changed, 0 insertions, 0 deletions