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++ PATCH] Fix PR 13701 g++.old-deja/g++.eh/cleanup2.C ICEs


On Fri, 16 Jan 2004 08:19:39 -0800, Andrew Pinski <pinskia@physics.uc.edu> wrote:

> On Jan 16, 2004, at 07:05, Jason Merrill wrote:
>
>> I wonder why we're walking to the TREE_CHAIN of an EH_SPEC_BLOCK; I would
>> think we would want to walk into its first operand, as well.  In which
>> case
>> we wouldn't need the langhook.  Could you give that a try?
>
> That is what is currently done on the mainline after my first patch, see
> <http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02196.html>.  After getting
> this ICE, I found
> out that I had to add the langhook.

Ah, I see, the problem is that we haven't run finish_eh_spec_block yet when
we call finish_fname_decls.  Could you try reordering the code in
finish_function?  It looks like just moving the finish_fname_decls call
down would work.

Jason


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