This test fails in the Fedora RPM build (but not elsewhere, for unknown
reasons). The warning is correct, we're passing a null pointer.
Backport from mainline
2020-03-12 Jonathan Wakely <jwakely@redhat.com>
* testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Do not pass
a null pointer to functions with nonnull(1) attribute.
2020-03-12 Jonathan Wakely <jwakely@redhat.com>
+ Backport from mainline
+ 2020-03-12 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Do not pass
+ a null pointer to functions with nonnull(1) attribute.
+
Backport from mainline
2020-02-28 Jonathan Wakely <jwakely@redhat.com>
#if _GLIBCXX_USE_C99_STDLIB
long long i = 0;
- const char* s = 0;
+ const char* s = "";
char** endptr = 0;
int base = 0;