Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 54237 Details for
Bug 86384
gcc-3.4.3.20050110-r1: installation fails with maketest FEATURES
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
va-arg-25.c generated during maketest
va-arg-25.c (text/plain), 735 bytes, created by
Stephen Torri
on 2005-03-23 06:23:09 UTC
(
hide
)
Description:
va-arg-25.c generated during maketest
Filename:
MIME Type:
Creator:
Stephen Torri
Created:
2005-03-23 06:23:09 UTC
Size:
735 bytes
patch
obsolete
>/* Varargs and vectors! */ > >#include <stdarg.h> >#include <limits.h> > >#define vector __attribute__((vector_size(16))) > >const vector unsigned int v1 = {10,11,12,13}; >const vector unsigned int v2 = {20,21,22,23}; > >void foo(int a, ...) >{ > va_list args; > vector unsigned int v; > > va_start (args, a); > v = va_arg (args, vector unsigned int); > if (a != 1 || memcmp (&v, &v1, sizeof (v)) != 0) > abort (); > a = va_arg (args, int); > if (a != 2) > abort (); > v = va_arg (args, vector unsigned int); > if (memcmp (&v, &v2, sizeof (v)) != 0) > abort (); > va_end (args); >} > >int main(void) >{ >#if INT_MAX == 2147483647 > foo (1, (vector unsigned int){10,11,12,13}, 2, > (vector unsigned int){20,21,22,23}); >#endif > return 0; >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 86384
:
54232
|
54233
|
54234
|
54235
|
54236
| 54237