testsuite: Skip analyzer tests on AIX.
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / uninit-6b.c
blob32ba30fb38460abb2738041597b0629f455dbca7
1 /* Reduced from uninit false positive seen on Linux kernel with
2 net/ethtool/ioctl.c */
4 typedef signed char s8;
5 typedef unsigned int u32;
6 typedef __SIZE_TYPE__ size_t;
8 void *memset(void *s, int c, size_t n);
10 struct ethtool_link_settings {
11 u32 cmd;
12 s8 link_mode_masks_nwords;
15 struct ethtool_link_ksettings {
16 u32 lanes;
17 struct ethtool_link_settings base;
20 struct ethtool_link_settings
21 ethtool_get_link_ksettings(void) {
22 struct ethtool_link_ksettings link_ksettings;
24 memset(&link_ksettings, 0, sizeof(link_ksettings));
25 link_ksettings.base.cmd = 0x0000004c;
26 link_ksettings.base.link_mode_masks_nwords = -3;
28 return link_ksettings.base;