This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'. From-SVN: r63210
This commit is contained in:
parent
c4ab9ffe1d
commit
543abfe629
|
@ -0,0 +1,19 @@
|
|||
/* DO NOT EDIT THIS FILE.
|
||||
|
||||
It has been auto-edited by fixincludes from:
|
||||
|
||||
"fixinc/tests/inc/sys/socket.h"
|
||||
|
||||
This had to be done to correct non-standard usages in the
|
||||
original, manufacturer supplied header file. */
|
||||
|
||||
|
||||
|
||||
#if defined( IRIX_SOCKLEN_T_CHECK )
|
||||
#define _SOCKLEN_T
|
||||
#if _NO_XOPEN4 && _NO_XOPEN5
|
||||
typedef int socklen_t;
|
||||
#else
|
||||
typedef u_int32_t socklen_t;
|
||||
#endif /* _NO_XOPEN4 && _NO_XOPEN5 */
|
||||
#endif /* IRIX_SOCKLEN_T_CHECK */
|
|
@ -0,0 +1,17 @@
|
|||
/* PR optimization/8613 */
|
||||
/* Contributed by Glen Nakamura */
|
||||
|
||||
extern void abort (void);
|
||||
|
||||
int main (void)
|
||||
{
|
||||
char buf[16] = "1234567890";
|
||||
char *p = buf;
|
||||
|
||||
*p++ = (char) __builtin_strlen (buf);
|
||||
|
||||
if ((buf[0] != 10) || (p - buf != 1))
|
||||
abort ();
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue