Commit b48a0c18 by Alan Modra Committed by Alan Modra

* gcc.dg/winline-7.c: Don't cast void * to int.

From-SVN: r75503
parent b61f9bf0
2004-01-07 Alan Modra <amodra@bigpond.net.au>
* gcc.dg/winline-7.c: Don't cast void * to int.
2004-01-06 Jan Hubicka <jh@suse.cz>
* gcc.dg/i386-sse-5.c: New test
......
......@@ -2,11 +2,11 @@
/* { dg-options "-Winline -O2" } */
void big (void);
inline int q(void)
inline void *q (void)
{ /* { dg-warning "(function not inlinable|alloca)" } */
return (int)alloca(10);
return alloca (10);
}
inline int t (void)
inline void *t (void)
{
return q (); /* { dg-warning "called from here" } */
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment