re PR middle-end/58463 (ICE with -fdump-tree-all-all in vector indexed access)

PR middle-end/58463
        * gcc.dg/pr58463.c: New test.

From-SVN: r202976
This commit is contained in:
Paulo Matos 2013-09-27 14:54:43 +00:00 committed by Paulo Matos
parent 0d0e2af66e
commit 3c468b4cb9
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-09-27 Paulo Matos <pmatos@broadcom.com>
PR middle-end/58463
* gcc.dg/pr58463.c: New test.
2013-09-27 Paulo Matos <pmatos@broadcom.com>
* cfgloop.h (number_of_loops): Fix typo in check for null.

View File

@ -0,0 +1,15 @@
/* { dg-do compile } */
/* { dg-options "-fdump-tree-ealias-details -O2" } */
typedef struct
{
int data16;
}
list_data;
void
fn1 (list_data * p1)
{
p1->data16 = p1->data16 & 1 & p1->data16 >> 1;
}
/* { dg-final { cleanup-tree-dump "ealias" } } */