public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/64013] New: [5 Regression] libsanitizer fails to build
@ 2014-11-21  8:43 rguenth at gcc dot gnu.org
  2014-11-21  8:43 ` [Bug sanitizer/64013] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-21  8:43 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-11-24  9:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-21  8:43 [Bug sanitizer/64013] New: [5 Regression] libsanitizer fails to build rguenth at gcc dot gnu.org
2014-11-21  8:43 ` [Bug sanitizer/64013] " rguenth at gcc dot gnu.org
2014-11-21  8:47 ` rguenth at gcc dot gnu.org
2014-11-21 13:46 ` jakub at gcc dot gnu.org
2014-11-21 13:56 ` dvyukov at google dot com
2014-11-21 14:04 ` jakub at gcc dot gnu.org
2014-11-24  9:04 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).