This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]