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:
Steve Ellcey 2009-11-30 22:06:58 +00:00 committed by Steve Ellcey
parent e1f9c1cd1f
commit cdc90f92a5
2 changed files with 14 additions and 0 deletions

View File

@ -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

View 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);
}