Overoptimize


As a few people have found out, turning on some compiler optimizations such as -O2 with gcc 3.4 will cause problems, though Joerg Sonnenberger did just fix one issue. The speed benefits may be more mental than real, anyway

Posted by     Categories: Goings-on     2 Comments
2 Comments on Overoptimize

Closed

  1. Lazarus says:

    From: http://greenfly.org/mes.html

    “The Gentoo install was like finding a forest, cutting down the trees, breaking a leg, getting out of the hospital, coming back, taking out the stumps and clearing the land of rocks, planting wheat, building a mill, making flower, making dough, then building an oven in which to burn it to a crisp, stealing a cow, milking it, churning the butter, picking berries, making jam. YUMMY! Breakfast is ready, but you don’t have time to eat because it’s time to update everything, including GCC, which also means a complete recompilation of everything.”

    Sorry. It was linked to off of http://www.funroll-loops.org, and I thought I’d share it.

  2. henry says:

    While the speed benefits are probably a mental thing, the compiler is more strict / compliant. This is useful for myself as a developer. :)