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: 23 Jan 2006 14:56:52 -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 #4 from pinskia at gcc dot gnu dot org 2006-01-23 14:56 -------
Subject: Bug 24437
Author: pinskia
Date: Mon Jan 23 14:56:45 2006
New Revision: 110116
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110116
Log:
2006-01-23 Andrew Pinski <pinskia@physics.uc.edu>
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/tree-ssa-ccp.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24437