------- 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

Reply via email to