------- Additional Comments From law at redhat dot com  2004-12-02 15:56 -------
Subject: Re:  [3.4/4.0 Regression] g++ crash with -O2
        and -O3 on input file

On Wed, 2004-12-01 at 22:08 -0800, Richard Henderson wrote:
> 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.
Worse things have happened in this world.  The patch has been reverted.

jeff




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15855

Reply via email to