1 /* PR69537, spurious warning because of a missed optimization. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fno-short-enums -Wuninitialized" } */
13 yp_master (char **outname
)
15 // Replacing enum clnt_stat with int avoids the warning.
16 enum clnt_stat result
;
17 result
= do_ypcall_tr ();
20 *outname
= __builtin_strdup ("foo");
29 if ((r
= yp_master (&master
)) != 0)
31 __builtin_free (master
); /* { dg-bogus "uninitialized" } */