This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR19315.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Iain Sandoe <iain at sandoe dot co dot uk>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Biener <richard dot guenther at gmail dot com>
- Date: Tue, 14 Aug 2018 20:58:58 +0000
- Subject: Re: [PATCH] Fix PR19315.
- References: <3BE994CC-7046-45CF-B3CF-634E2F69BB0A@sandoe.co.uk>
On Tue, 14 Aug 2018, Iain Sandoe wrote:
> 2018-08-14 Iain Sandoe <iain@sandoe.co.uk>
>
> gcc/c:
>
> PR c/19315
> * c-decl.c (finish_decl): Don't add the 'extern' storage class to
> objects of unknown size.
>
> gcc/testsuite:
>
> PR c/19315
> gcc.dg/graphite/pr82451.c: Make array 'a' an extern.
> gcc.dg/redecl-10.c: Expect warnings for the static vars with unknown
> size.
OK.
--
Joseph S. Myers
joseph@codesourcery.com