You're asking a lot from the compiler. Moreover, even if you get gcc to spit out the optimal assembly for your code, there's no guarantee it will continue to do so for future gcc versions.

Everything about your design seems like a bad idea. I'm sure there are better ways of doing it.

Comments