[Bug c++/23372] [4.0/4.1 Regression] Temporary aggregate copy not elided when passing parameters by value

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 31 15:24:00 GMT 2006



------- Comment #19 from pinskia at gcc dot gnu dot org  2006-01-31 15:24 -------
The test for this PR (gcc.dg/pr23372-1.c) fails on powerpc-darwin because there
is no memcpy outputted in the asm.
There is a loop:
L2:
        lbzx r0,r9,r2
        stbx r0,r11,r2
        addi r2,r2,1
L3:
        bdnz L2

But no memcpy.


-- 


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



More information about the Gcc-bugs mailing list