On Wed, Mar 18, 2015 at 06:21:51PM +0100, Tom de Vries wrote: > this patch fixes PR65458. > > The patch marks omp thread functions as parallelized, which means the > parloops pass no longer attempts to modify that function. > > Bootstrapped and reg-tested on x86_64. > > OK for stage4 trunk?
This will certainly not work with LTO. IMHO you instead want some cgraph_node flag, and make sure you stream it out and in for LTO. Jakub