diff options
author | Marek Polacek <polacek@redhat.com> | 2017-06-06 17:40:34 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2017-06-06 17:40:34 +0000 |
commit | dc949728324201174ce6000933435a8d0392799e (patch) | |
tree | 411298b442a48b3524633e5f64427bfa4c5ed550 /libmpx | |
parent | 100d0700a81ba6cc9cc4910c1fb8de8e53e23d1f (diff) | |
download | gcc-dc949728324201174ce6000933435a8d0392799e.zip gcc-dc949728324201174ce6000933435a8d0392799e.tar.gz gcc-dc949728324201174ce6000933435a8d0392799e.tar.bz2 |
re PR c/79983 (Improve enum and struct redefinition diagnostic)
PR c/79983
* c-decl.c (start_struct): Use the location of TYPE_STUB_DECL of
ref.
(start_enum): Use the location of TYPE_STUB_DECL of enumtype.
* gcc.dg/pr79983.c: New test.
From-SVN: r248927
Diffstat (limited to 'libmpx')
0 files changed, 0 insertions, 0 deletions