[Bug middle-end/26022] [4.2 Regression] ICE with references and virtual functions

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 1 15:15:00 GMT 2006



------- Comment #12 from pinskia at gcc dot gnu dot org  2006-03-01 15:15 -------
Subject: Bug 26022

Author: pinskia
Date: Wed Mar  1 15:15:38 2006
New Revision: 111602

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111602
Log:
2006-01-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/26022
        Revert:
        PR middle-end/24437
        * tree-ssa-ccp.c (fold_stmt): Move folding of OBJ_TYPE_REF
        with a call expr to ...
        * fold-const.c (fold_ternary) <case CALL_EXPR>: Here.

2006-02-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/26022
        * g++.dg/opt/return-slot1.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/opt/return-slot1.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-ccp.c


-- 


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



More information about the Gcc-bugs mailing list