This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C identifier lookup speedups, 2/2


Mark Mitchell <mark at codesourcery dot com> writes:

> On Mon, 2003-04-14 at 12:49, David Edelsohn wrote:
>> 	With the patch, the scope-2.c example compiles, but the resulting
>> executable calls abort() because v = 4 not 3.  With earlier versions of
>> GCC, scope-2.c correctly compiles and runs on AIX.
>
> OK, I see what's going on.  There's really no good way to get the
> previous behavior without a major overhaul of now pushdecl works, which
> is not going to be fun.  

I have another overhaul in mind - thought of an algorithm that should
be even faster for typical code - but I'm not going to get to it this
week, so I too vote for making this case a hard error.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]