* gcc.c-torture/compile/pr37878.c: New test.

From-SVN: r141451
This commit is contained in:
David Edelsohn 2008-10-29 23:39:30 +00:00 committed by David Edelsohn
parent 2665ab87be
commit b4cb33a15e
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-10-29 David Edelsohn <edelsohn@gnu.org>
* gcc.c-torture/compile/pr37878.c: New test.
2008-10-29 Steve Ellcey <sje@cup.hp.com> 2008-10-29 Steve Ellcey <sje@cup.hp.com>
PR middle-end/37339 PR middle-end/37339

View File

@ -0,0 +1,9 @@
/* PR target/37878 */
double y, z;
void foo (long x)
{
y = *(double *) ((long *) (x - 1) + 1);
z = *(double *) ((long *) (x - 1) + 1);
}