PR middle-end/16045
* builtins.c (fold_builtin): Create a new NOP_EXPR all the time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103243
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-08-18 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR middle-end/16045
+ * builtins.c (fold_builtin): Create a new NOP_EXPR all the time.
+
2005-08-17 James E Wilson <wilson@specifix.com>
* c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in
tree exp = fold_builtin_1 (fndecl, arglist, ignore);
if (exp)
{
- /* ??? Don't clobber shared nodes such as integer_zero_node. */
- if (CONSTANT_CLASS_P (exp))
- exp = build1 (NOP_EXPR, TREE_TYPE (exp), exp);
+ exp = build1 (NOP_EXPR, TREE_TYPE (exp), exp);
TREE_NO_WARNING (exp) = 1;
}