[Bug tree-optimization/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2

paolo dot bonzini at lu dot unisi dot ch gcc-bugzilla@gcc.gnu.org
Thu Nov 8 06:12:00 GMT 2007



------- Comment #22 from paolo dot bonzini at lu dot unisi dot ch  2007-11-08 06:12 -------
Subject: Re:  [4.3 Regression] Revision 119502
 causes significantly slower results with 4.3 compared to 4.2

jacob at math dot jussieu dot fr wrote:
> ------- Comment #21 from jacob at math dot jussieu dot fr  2007-11-07 20:58 -------
> Hi, I'm the guy behind Eigen, from which the initial testcase is taken.
> 
> Would it help the compiler if I removed most of the "const" keywords in my
> code?

I'm not the expert on expression templates, but I don't think so. 
"const"'s are mostly ignored by the compiler for optimization purposes, 
but removing those would be bad for the users, I think.

Paolo


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33604



More information about the Gcc-bugs mailing list