This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39026] Gcc accepts invalid code
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2009 06:52:25 -0000
- Subject: [Bug c/39026] Gcc accepts invalid code
- References: <bug-39026-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rguenther at suse dot de 2009-01-30 06:52 -------
Subject: Re: Gcc accepts invalid code
On Fri, 30 Jan 2009, hjl dot tools at gmail dot com wrote:
> ------- Comment #5 from hjl dot tools at gmail dot com 2009-01-30 01:17 -------
> (In reply to comment #4)
> >
> > I think the frontend should, in C89 mode and if just issueing a warning,
> > set DECL_EXTERNAL properly on the decl.
> >
>
> Do we want to make such a change, especially for 4.3 branch?
It would be a way more local change than changing what binds local
(which also affects other languages). Did you try to track down which
change broke this in the first place?
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39026