Hi all!
Git commit e2bb55ec3b70cf45088bb73ba9ca990129328d60 (pr/108350) removes the
fallback scenario for lrealpath() when none of the #ifdef's match (in which
case the function is empty)
In this situation, there is no return statement, and hence an uninitialized
pointer value is returned. Thi
diff -rubB gcc-15.1.0-base/libiberty/lrealpath.c
gcc-15.1.0/libiberty/lrealpath.c
--- gcc-15.1.0-base/libiberty/lrealpath.c 2025-04-25 10:18:04.0 +0200
+++ gcc-15.1.0/libiberty/lrealpath.c 2025-05-09 16:49:35.228340555 +0200
@@ -303,4 +303,7 @@
return res;
}
#endif // _WIN32
+
+ /* This sy