Forum Discussion
Altera_Forum
Honored Contributor
14 years agoI did try compiling my code with gcc4, my static analysis showed the code to both larger and slower than that generated by gcc3. I didn't look to see why.
(That code is rather carefully crafted to avoid anything on-stack.) That would have been after I'd applied my changes to the gcc4 code generator and reversed some of Altera's changes. I'm also surprised that changing the optimisation level had little/no effect. The difference between -O0 and -O2 should be massive.