This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Bug in tree-inline.c:estimate_num_insns_1?
- From: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 24 Feb 2005 16:07:00 +0100 (CET)
- Subject: Bug in tree-inline.c:estimate_num_insns_1?
Hi!
In estimate_num_insns_1 we currently have:
/* Recognize assignments of large structures and constructors of
big arrays. */
case INIT_EXPR:
case MODIFY_EXPR:
x = TREE_OPERAND (x, 0);
/* FALLTHRU */
case TARGET_EXPR:
case CONSTRUCTOR:
{
HOST_WIDE_INT size;
...
shouldn't TARGET_EXPR being moved up before x = TREE_OPERAND (x, 0); ?
Richard.
--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/