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]

Re: c++ scoping problems


On Wed, Sep 26, 2001 at 09:31:51AM +0100, Nathan Sidwell wrote:
> Matt Kraai wrote:
> > I've been investigating c++/4376, which reports a consistency
> > check failure compiling KDE.  I've reduced the problem to the
> > following testcase:
> This is a duplicate of 4206. I posted the same patch at
> http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00080.html. Jason had a
> query about its relationship to -fno-for-scope, which seems to be ok
> (but then Jason went on vacation, and I was waiting on that to pick
> it up). Unfortunately Raja R Harinath posted another case for which
> the patch fails (it's in the same thread).
> I've not had time to investigate. I think you're on the right
> lines -- see what's going on with Raja's case.

I'm sorry, I didn't mean to duplicate your effort.  Does GNATS
have a method for handling duplicate PRs?

In any case, I don't think that Raja's failure is caused by this
patch.  It fails for me with both a patched and an unpatched
version of GCC.  An EH_REGION_BEG note appears before the loop,
while the EH_REGION_END note appears within.  This causes the
eh_region count to become negative while processing the loop,
causing a consistency check failure.

Matt


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