This is the mail archive of the gcc-patches@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]

Re: [Bug middle-end/15855] [3.4/4.0 Regression] g++ crash with -O2 and -O3 on input file


On Wed, Dec 01, 2004 at 09:56:51PM -0700, Jeffrey A Law wrote:
>         * tree.h (save_eptr, save_filt): Now file scoped statics.
>         (honor_protect_cleanup_actions): Only create save_eptr and
>         save_filt if they do not already exist.
>         (lower_eh_constructs): Wipe all knowledge of save_eptr and
>         save_filt before returning.

As I just discovered while working through the existance of these
saves for DannyB, this transformation is incorrect and indeed
invalidates the entire reason for this save/restore.

The best that we could do is a stack of variable pairs so that
nested eh regions are handled properly.

Sorry for my earlier misdiagnosis.


r~


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