[C++ patch] instantiate_decl cleanup

Nathan Sidwell nathan@acm.org
Tue Jan 31 17:22:00 GMT 2017


I've committed this patch, which is the tidying up I've done for the 
67273 and 79253 patch on its way.

instantiate_decl's cleanup is a little untidy because of some 'goto out' 
statements, that jump into the middle of the cleanup.

1) finally make defer_ok a bool
2) sort the state restoration to be in reverse order.
3) move the omp_privatization restoration to just before the out label. 
(it's saved after the last goto).

nathan
-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inst.diff
Type: text/x-patch
Size: 5353 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170131/a75341af/attachment.bin>


More information about the Gcc-patches mailing list