libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_111-pr113731.c
blobb205f470660af4a364515983f84748007d2958bc
1 /* { dg-do compile } */
2 /* { dg-add-options vect_early_break } */
3 /* { dg-require-effective-target vect_early_break } */
4 /* { dg-require-effective-target vect_long } */
5 /* { dg-additional-options "-msse4.2" { target i?86-*-* x86_64-*-* } } */
7 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } } */
9 char* inet_net_pton_ipv4_bits;
10 char inet_net_pton_ipv4_odst;
11 void __errno_location();
12 void inet_net_pton_ipv4();
13 void inet_net_pton() { inet_net_pton_ipv4(); }
14 void inet_net_pton_ipv4(char *dst, int size) {
15 while ((inet_net_pton_ipv4_bits > dst) & inet_net_pton_ipv4_odst) {
16 if (size-- <= 0)
17 goto emsgsize;
18 *dst++ = '\0';
20 emsgsize:
21 __errno_location();