[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:06:00 GMT 2006



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

Author: mmitchel
Date: Tue Aug  1 20:05:49 2006
New Revision: 115863

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115863
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:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/eh/cast1.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/tree.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list