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: [tree-ssa][PATCH]: Fix dfs_id/dfn arrays in tree-ssa-pre


> Small bug, the symptoms of which were noticed by honza.
> 
> fast_a_dominates_b wasn't returning the right value for block 0, because
> I used if (bb->index > 0) rather than if (bb->index >= 0) when building
> the arrays.
> 
> Fix thusly.
Thanks!  This makes tree-ssa-pre.c to pass verify_ssa checks for me, so
only pass that breaks is SRA at the moment.
I will try to look further into SRA failures tonight.

Honza


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