This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/8936] Declaration of never defined member function changes generated code
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 May 2003 16:16:50 -0000
- Subject: [Bug c++/8936] Declaration of never defined member function changes generated code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8936
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2003-05-25 16:16:50
date| |
------- Additional Comments From pinskia@physics.uc.edu 2003-05-25 16:16 -------
This looks like is okay on ppc on the mainline (20030525) but not with -fno-omit-frame-
pointer.
PPC asm with -fno-omit-frame-pointer:
__Z3foov:
stmw r30,-8(r1)
stwu r1,-48(r1)
mr r30,r1
lwz r1,0(r1)
li r3,0
lmw r30,-8(r1)
blr
.align 2
.globl __Z3barv
__Z3barv:
stmw r30,-8(r1)
stwu r1,-80(r1) <--- see that this is more than above
mr r30,r1
lwz r1,0(r1)
li r3,0
lmw r30,-8(r1)
blr
PPC asm without -fno-omit-frame-pointer:
__Z3foov:
li r3,0
blr
.align 2
.globl __Z3barv
__Z3barv:
li r3,0
blr
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.