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

bonzini at gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 7 16:26:00 GMT 2007



------- Comment #18 from bonzini at gnu dot org  2007-11-07 16:26 -------
Created an attachment (id=14498)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14498&action=view)
never say minimal!

So this is a testcase constructed from scratch.  4.3 is 4.5x slower (0.8s vs.
0.18s).  Furthermore, if you "#define const", the performance pitfall goes
away.

For whoever wants to work on this, I would double check with the previous
minimal testcase, but this has the same symptoms (no SRA of the Ref instances)
and is much much smaller, so it is more suited to go in GCC's testsuite.


-- 


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



More information about the Gcc-bugs mailing list