This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28493] Wrong address of stack object used for destructor call on PPC
- From: "atgraham at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2006 15:42:52 -0000
- Subject: [Bug target/28493] Wrong address of stack object used for destructor call on PPC
- References: <bug-28493-12114@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from atgraham at gmail dot com 2006-07-26 15:42 -------
Actually, the for loop is unnecessary. Here's a shorter version that displays
the same problem:
struct Command {
virtual ~Command() {}
};
void tryfunc() {
Command cmd;
throw 1;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28493