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: EH verifier and dumping II


On Thu, Apr 9, 2009 at 1:10 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
> Hi,
> writing verifier hardly goes without finding some latent bug. ?This is
> what I ended up comitting. ?There is bug in computing prev_try pointer
> in duplicate_eh_regions when duplicating just part of tree for GOMP.
> This shows in two GOMP testcases.
>
> I think the REMAP can handle the pointer without this patch arbitrarily
> wrongly resulting in ICE or wrong CFG or both.
>
> Honza
>
> Bootstrapped/regtested x86_64-linux, comitted.
>
> ? ? ? ?* except.c (find_prev_try): Break out from ....
> ? ? ? ?(duplicate_eh_regions): ... here; properly update prev_try pointers
> ? ? ? ?when duplication part of tree.
> ? ? ? ?(dump_eh_tree): Improve dumping.
> ? ? ? ?(verify_eh_region): New.
> ? ? ? ?(verify_eh_tree): Use it.

This may have caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39862


-- 
H.J.


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