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: [trans-mem] PR46270: handle throwing statements


> +  region->pending_edge_inserts_p = false;

You don't want to put this flag on the region.  You want to do this
edge insertion once per function, not once per region.  I.e. outside
that big loop in execute_tm_mark.

The easiest thing is to make the flag file-scope static, cleared at
the beginning of execute_tm_mark.

Ok with that change.


r~


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