* gcc.c-torture/compile/pr37878.c: New test.
From-SVN: r141451
This commit is contained in:
parent
2665ab87be
commit
b4cb33a15e
@ -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>
|
||||
|
||||
PR middle-end/37339
|
||||
|
9
gcc/testsuite/gcc.c-torture/compile/pr37878.c
Normal file
9
gcc/testsuite/gcc.c-torture/compile/pr37878.c
Normal 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user