Fix tree-optimization/17528 and libstdc++ tests
Andrew Pinski
pinskia@physics.uc.edu
Fri Sep 17 12:07:00 GMT 2004
On Sep 16, 2004, at 9:40 PM, Diego Novillo wrote:
> On Thu, 2004-09-16 at 23:37, Daniel Berlin wrote:
>
>> I'll see if i can reproduce this with a cross compiler and see what is
>> going on.
>>
> Note that I get an identical failure on x86. Compile the attached with
>
> $ ./cc1 -fpreprocessed memset-3.i -quiet -dumpbase memset-3.c
> -mtune=pentiumpro -auxbase memset-3 -O3 -w -version
> -fomit-frame-pointer -o memset-3.s
>
> GNU C version 4.0.0 20040916 (experimental) (i686-pc-linux-gnu)
> compiled by GNU C version 3.3.3 20040412 (Red Hat Linux
> 3.3.3-7).
> GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
> /home/dnovillo/gcc.clean/src/gcc/testsuite/gcc.c-torture/execute/
> memset-3.c: In function 'main':
> /home/dnovillo/gcc.clean/src/gcc/testsuite/gcc.c-torture/execute/
> memset-3.c:58: internal compiler error: tree check: expected
> value_handle, have addr_expr in value_insert_into_set_bitmap, at
> tree-ssa-pre.c:470
Here is a reduced testcase which I can reproduce on
powerpc-apple-darwin:
char buf[10];
void abort (void);
void check (int len)
{
char *q;
int i;
q = buf;
for (i = 0; i < 1; i++, q++)
if (*q != 'a')
abort ();
for (i = 0; i < len; i++, q++)
if (*q != 'b')
abort ();
}
Thanks,
Andrew Pinski
More information about the Gcc-patches
mailing list