This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Fix g++.dg/opt/pr24665.C

On Sat, Jul 21, 2007 at 12:38:24AM -0400, Daniel Berlin wrote:
> Grrr, i have an additional fix in that tree that was not committed,
> that seems to be what really fixed this.
> Please try:
> Index: tree-ssa-propagate.c
> ===================================================================
> --- tree-ssa-propagate.c	(revision 126804)
> +++ tree-ssa-propagate.c	(working copy)
> @@ -617,7 +617,7 @@ valid_gimple_expression_p (tree expr)
>                  return false;
>                t = TREE_OPERAND (t, 0);
>              }
> -           if (!is_gimple_addressable (t))
> +           if (!is_gimple_id (t))
>              return false;
>            break;
>          }

   Bootstrapped and tested on x86_64-unknown-linux-gnu with no new failures.
Also tested as cross compiler to arm-unknown-elf, cris-axis-elf,
m32c-unknown-elf, frv-unknown-elf, sh-unknown-elf and v850-unknown-elf with
no new failures. On all of those targets, it fixes two failures:

-FAIL: g++.dg/opt/pr24665.C (internal compiler error)
-FAIL: g++.dg/opt/pr24665.C (test for excess errors)

Rask Ingemann Lambertsen

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]