------- Comment #38 from michael dot olbrich at gmx dot net 2008-03-02 12:14 ------- I tried again with g++-4.2 (GCC) 4.2.3 (Debian 4.2.3-2) g++-4.3 (Debian 4.3-20080227-1) 4.3.0 20080227 (prerelease) [gcc-4_3-branch revision 132730]
The problem still exists for the first two test cases. As I noted in comment #8 there is a significant speedup from -O2 to -O3 for g++-4.2 (18s -> 5s) With the current g++-4.3 there is no difference between -O2 and -O3 (both 14s) "-fforce-addr" which produced significant speedup does not exist anymore. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33604