mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-11 16:41:06 +08:00
pr41551.c: New test.
2009-11-30 Steve Ellcey <sje@cup.hp.com> * gcc.dg/pr41551.c: New test. From-SVN: r154846
This commit is contained in:
parent
e1f9c1cd1f
commit
cdc90f92a5
@ -1,3 +1,7 @@
|
||||
2009-11-30 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
* gcc.dg/pr41551.c: New test.
|
||||
|
||||
2009-11-30 Janus Weil <janus@gcc.gnu.org>
|
||||
|
||||
PR fortran/42053
|
||||
|
10
gcc/testsuite/gcc.dg/pr41551.c
Normal file
10
gcc/testsuite/gcc.dg/pr41551.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
/* Make sure we do not ICE. */
|
||||
|
||||
int main(void)
|
||||
{
|
||||
int var, *p = &var;
|
||||
return (double)(unsigned long)(p);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user