2013/6/20 Richard Biener <[email protected]>:
>
> 2013-06-20 Richard Biener <[email protected]>
>
> PR tree-optimization/57584
> * tree-ssa-loop-niter.c (expand_simple_operations): Avoid including
> SSA names into the expanded expression that take part in
> abnormal coalescing.
>
> * gcc.dg/torture/pr57584.c: New testcase.
>
> Index: gcc/testsuite/gcc.dg/torture/pr57584.c
> ===================================================================
> *** gcc/testsuite/gcc.dg/torture/pr57584.c (revision 0)
> --- gcc/testsuite/gcc.dg/torture/pr57584.c (working copy)
> ***************
> *** 0 ****
> --- 1,73 ----
> + /* { dg-do compile } */
Since other targets may not have register name r12, I suggest using:
{ dg-do compile { target { xxx yyy zzz"} } }
> +
> + typedef int int32_t __attribute__ ((__mode__ (__SI__)));
> + typedef unsigned char uint8_t;
> + typedef unsigned long int uintptr_t;
[deleted]
> + static const void **jump_table_pointer = ((void *)0);
> + register const void **jump_table asm ("r12");
Best regards,
jasonwucj