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:
parent
68a976f2c4
commit
f8aa1785b6
|
@ -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>
|
2005-08-01 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
* val-prof-5.c: New test.
|
* val-prof-5.c: New test.
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
__inline void libc_name_p (void)
|
||||||
|
{
|
||||||
|
enum { A = 1 };
|
||||||
|
}
|
||||||
|
void nothrow_libfn_p (void)
|
||||||
|
{
|
||||||
|
libc_name_p ();
|
||||||
|
}
|
|
@ -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);
|
||||||
|
}
|
Loading…
Reference in New Issue