Nils Pipenbrinck <[EMAIL PROTECTED]> writes: > Most of the stuff I write is performance critical, and I always find > myself in the same situation: I spend counter less hours to unswitch > loops by hand because the built-in loop unswitcher is not always smart > when multiple variables can be unswitched.
I'm sure the developers would appreciate simple test cases in bugzilla demonstrating the problem. That would not help you immediately (because it would only be fixed in some future gcc version), but long term. > Also you can not > enable/disable loop unswitching on a per-function basis. I often wished for a way to enable/disable loop unrolling on a per loop basis. Some way to annotate loops similar to what OpenMP does would be quite nice. -Andi