20050801-1.c: New test.

2005-08-01  Andrew Pinski  <pinskia@physics.uc.edu>

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

From-SVN: r102634
This commit is contained in:
Andrew Pinski 2005-08-01 16:29:17 +00:00 committed by Andrew Pinski
parent 68a976f2c4
commit f8aa1785b6
3 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-08-01 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.c-torture/compile/20050801-1.c: New test.
* gcc.c-torture/compile/20050801-2.c: New test.
2005-08-01 Jan Hubicka <jh@suse.cz>
* val-prof-5.c: New test.

View File

@ -0,0 +1,8 @@
__inline void libc_name_p (void)
{
enum { A = 1 };
}
void nothrow_libfn_p (void)
{
libc_name_p ();
}

View File

@ -0,0 +1,12 @@
__inline int f(int i)
{
struct {
int t[i];
} t;
return sizeof(t.t[i--]);
}
int g(int i)
{
return f(i);
}