This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11091] Wrong code in variable initialization
- 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: 5 Jun 2003 01:37:50 -0000
- Subject: [Bug c++/11091] Wrong code in variable initialization
- References: <20030604194320.11091.dej@inode.org>
- 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=11091
------- Additional Comments From pinskia@physics.uc.edu 2003-06-05 01:37 -------
gcc 3.2.2 produces the same code, The asm you gave is actually right because it stores obj in ebx,
then store ebx on the stack (via the push), then it calls the constructor. That is good code, I think
your problem is somewhere else.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.