This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: troublesome change
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: troublesome change
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Wed, 24 Jun 98 22:24:31 +0200
- Cc: egcs-bugs at cygnus dot com
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <199806240808.BAA31364@dm.cobaltmicro.com><u9g1gv6ub3.fsf@yorick.cygnus.com>
>>>>> David S Miller <davem@dm.cobaltmicro.com> writes:
>> if (! current_function_contains_functions
>> && ! decl_function_context (decl)
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> This really is quite wrong, and the fact that now it affects
>> multiple front ends suggests that whatever bug necessitated that
>> workaround change should be what is fixed and the workaround
>> removed.
Jason wrote:
> It's not a workaround. It didn't fix any bug. It just
> seemed to make sense; you can't defer dealing with a
> nested function until end-of-file. But you should feel
> free to remove it if it's causing problems. That's what
> I told the FORTRAN people, but apparently they didn't.
Craig came up with a better solution - so to us it's no problem anymore.
Cheers,
Toon.