diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-12-02 08:33:06 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-12-02 08:33:06 +0100 |
commit | 657e4e47344408f7ca6b3c05bd86337dd424a3cf (patch) | |
tree | 0916e5db0f1f5a9235cadfad0dd148b31c92f286 /gcc/c/ChangeLog | |
parent | fe78aa0474d9469384951dbddcd5aeea5f40c03c (diff) | |
download | gcc-657e4e47344408f7ca6b3c05bd86337dd424a3cf.zip gcc-657e4e47344408f7ca6b3c05bd86337dd424a3cf.tar.gz gcc-657e4e47344408f7ca6b3c05bd86337dd424a3cf.tar.bz2 |
re PR c/68533 (bogus location for "warning: ‘struct s3’ declared inside parameter list will not be visible outside of this definition or declaration")
PR c/68533
* c-decl.c (get_parm_info): Use b->locus instead of input_location
for diagnostics.
* gcc.dg/pr68533.c: New test.
From-SVN: r231147
Diffstat (limited to 'gcc/c/ChangeLog')
-rw-r--r-- | gcc/c/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 43d1579..acb8ee4 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2015-12-02 Jakub Jelinek <jakub@redhat.com> + + PR c/68533 + * c-decl.c (get_parm_info): Use b->locus instead of input_location + for diagnostics. + 2015-12-01 Julian Brown <julian@codesourcery.com> Cesar Philippidis <cesar@codesourcery.com> James Norris <James_Norris@mentor.com> |