[Bug c++/28523] [4.0/4.1/4.2 Regression] Throw of a derived class casted to its base class using a C-style cast

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 1 20:05:00 GMT 2006



------- Comment #2 from mmitchel at gcc dot gnu dot org  2006-08-01 20:05 -------
Subject: Bug 28523

Author: mmitchel
Date: Tue Aug  1 20:04:57 2006
New Revision: 115862

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115862
Log:
        PR c++/28523
        * tree.c (stabilize_expr): Tweak documentation.  Add assertion.
        (stabilize_call): Tweak documentation.
        (stabilize_init): Only call stabilize_call for calls.
        PR c++/28523
        * g++.dg/eh/cast1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/eh/cast1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list