https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64013
Bug ID: 64013 Summary: [5 Regression] libsanitizer fails to build Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org [35101s] I: Program returns random data in a function [35101s] E: gcc5 no-return-in-nonvoid-function ../../../../libsanitizer/sanitizer_common/sanitizer_linux.cc:295 bool FileExists(const char *filename) { #if SANITIZER_USES_CANONICAL_LINUX_SYSCALLS struct stat st; if (internal_syscall(SYSCALL(newfstatat), AT_FDCWD, filename, &st, 0)) return false; #else struct stat st; if (internal_stat(filename, &st)) return false; // Sanity check: filename is a regular file. return S_ISREG(st.st_mode); #endif } the SANITIZER_USES_CANONICAL_LINUX_SYSCALLS misses a return.