Turning off unrolling to certain loops

Jean Christophe Beyler jean.christophe.beyler@gmail.com
Mon Oct 5 20:46:00 GMT 2009


Dear all,

I was wondering if it was possible to turn off the unrolling to
certain loops. Basically, I'd like the compiler not to consider
certain loops for unrolling but fail to see how exactly I can achieve
that.

I've traced the unrolling code to multiple places in the code (I'm
working with the 4.3.2 version) and, for the moment, I'm trying to
figure out if I can add something in the loop such as a note that I
can later find in the FOR_EACH_LOOP loops in order to turn the
unrolling for that particular loop off.

Have you got any ideas of what I could use like "note" or even a
better idea all together?

Thanks,
Jc



More information about the Gcc mailing list