* gcc.c-torture/compile/20021123-1.c: New test.

From-SVN: r59400
This commit is contained in:
Eric Botcazou 2002-11-23 08:10:22 +00:00 committed by Eric Botcazou
parent d9afc0b797
commit b1069ddd3b
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-11-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/20021123-1.c: New test.
2002-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
* gcc.dg/i386-unroll-1.c: New test.

View File

@ -0,0 +1,10 @@
/* PR c/8439 */
/* Verify that GCC properly handles null increments. */
struct empty {
};
void foo(struct empty *p)
{
p++;
}