Skip to content

Commit

Permalink
re PR middle-end/58463 (ICE with -fdump-tree-all-all in vector indexe…
Browse files Browse the repository at this point in the history
…d access)

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

From-SVN: r202976
  • Loading branch information
Paulo Matos authored and Paulo Matos committed Sep 27, 2013
1 parent 0d0e2af commit 3c468b4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2013-09-27 Paulo Matos <[email protected]>

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

2013-09-27 Paulo Matos <[email protected]>

* cfgloop.h (number_of_loops): Fix typo in check for null.
Expand Down
15 changes: 15 additions & 0 deletions gcc/testsuite/gcc.dg/pr58463.c
Original file line number Diff line number Diff line change
@@ -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" } } */

0 comments on commit 3c468b4

Please sign in to comment.