This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/59585] New: Tests failing due to trailing newline


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59585

            Bug ID: 59585
           Summary: Tests failing due to trailing newline
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: y.gribov at samsung dot com
                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,
                    mpolacek at gcc dot gnu.org, tetra2005 at gmail dot com,
                    v.garbuzov at samsung dot com
              Host: x86_64-unknown-linux-gnu
            Target: arm-v7a15-linux-gnueabi

Created attachment 31502
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31502&action=edit
Log file

Hi folks,

I've tested ubsan in cross-gcc on ARM platform and got a series of similiar
errors:

FAIL: c-c++-common/ubsan/div-by-zero-1.c  -O2 -flto -fno-use-linker-plugin
-flto-partition=none  \
output pattern test, is
/home/ygribov/gcc/gcc-master/gcc/testsuite/c-c++-common/ubsan/div-by-zero-1.c:11:5:
runtime error: division by zero
/home/ygribov/gcc/gcc-master/gcc/testsuite/c-c++-common/ubsan/div-by-zero-1.c:12:5:
runtime error: division by zero
/home/ygribov/gcc/gcc-master/gcc/testsuite/c-c++-common/ubsan/div-by-zero-1.c:13:5:
runtime error: division by zero
/home/ygribov/gcc/gcc-master/gcc/testsuite/c-c++-common/ubsan/div-by-zero-1.c:14:5:
runtime error: division by zero
/home/ygribov/gcc/gcc-master/gcc/testsuite/c-c++-common/ubsan/div-by-zero-1.c:15:5:
runtime error: division by zero, should match division by zero(
|^M
|^M)[^
^M]*division by zero(
|^M
|^M)[^
^M]*division by zero(
|^M
|^M)[^
^M]*division by zero(
|^M
|^M)[^
^M]*division by zero(
|^M
|^M)

Extract from log file attached.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]