This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24437] OBJ_TYPE_REF handling in fold_stmt should be moved to fold
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2006 15:15:47 -0000
- Subject: [Bug middle-end/24437] OBJ_TYPE_REF handling in fold_stmt should be moved to fold
- References: <bug-24437-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from pinskia at gcc dot gnu dot org 2006-03-01 15:15 -------
Subject: Bug 24437
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=24437