------- Comment #5 from janis at gcc dot gnu dot org 2006-08-08 20:35 ------- David asked me to run a regression hunt on this, but I'm very confused about when the problem occurs, since some of the submitter's examples look just fine to me. Here's what it looks like to me, based on the generated code provided:
submitter's description 4.1.1 with -Os has bad call to destructor 4.1.1 with -O0 has good call to destructor comment #3 4.0.3 with -Os has good call to destructor 4.0.3 with -O0 has good call to destructor Am I missing something? I can reproduce the bad call with the 4.1-branch for powerpc-linux configured with --enable-sjlj-exceptions. It uses the wrong address for -Os, but looks fine for -O[0123]. -- janis at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janis at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28493