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 target/28493] Wrong address of stack object used for destructor call on PPC



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


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