public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/62132] New: [5.0 Regression] FAIL: c-c++-common/asan/misalign-[12].c after r213807 on x86_64-apple-darwin13 with -m32
Date: Thu, 14 Aug 2014 08:49:00 -0000	[thread overview]
Message-ID: <bug-62132-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62132

            Bug ID: 62132
           Summary: [5.0 Regression] FAIL:
                    c-c++-common/asan/misalign-[12].c after r213807 on
                    x86_64-apple-darwin13 with -m32
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    iains at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org,
                    ygribov at gcc dot gnu.org
              Host: x86_64-apple-darwin13
            Target: x86_64-apple-darwin13
             Build: x86_64-apple-darwin13

On x86_64-apple-darwin13 with -m32 the following tests fail after r213807:

Running target unix/-m32
FAIL: c-c++-common/asan/misalign-1.c   -O0  output pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-1.c   -O1  output pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-1.c   -O2  output pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-1.c   -O3 -fomit-frame-pointer  output pattern
test, is =================================================================
FAIL: c-c++-common/asan/misalign-1.c   -O3 -g  output pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-1.c   -Os  output pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-1.c   -O2 -flto -flto-partition=none  output
pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-1.c   -O2 -flto  output pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-2.c   -O0  output pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-2.c   -O1  output pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-2.c   -O2  output pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-2.c   -O3 -fomit-frame-pointer  output pattern
test, is =================================================================
FAIL: c-c++-common/asan/misalign-2.c   -O3 -g  output pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-2.c   -Os  output pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-2.c   -O2 -flto -flto-partition=none  output
pattern test, is
=================================================================
FAIL: c-c++-common/asan/misalign-2.c   -O2 -flto  output pattern test, is
=================================================================

In 64 bit mode the output is

=================================================================
==48043==ERROR: AddressSanitizer: unknown-crash on address 0x7fff5ba3f3bf at pc
0x1041c0bf2 bp 0x7fff5ba3f2f0 sp 0x7fff5ba3f2e8
READ of size 4 at 0x7fff5ba3f3bf thread T0
    #0 0x1041c0bf1
(/Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/a.out+0x100000bf1)
    #1 0x1041c0e8f
(/Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/a.out+0x100000e8f)

Address 0x7fff5ba3f3bf is located in stack of thread T0 at offset 175 in frame
    #0 0x1041c0caf
(/Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/a.out+0x100000caf)
...

while in 32 bit mode, it is

=================================================================
==48035==ERROR: AddressSanitizer: unknown-crash on address 0xbffda4cf at pc
0x26b19 bp 0xbffda3d8 sp 0xbffda3cc
READ of size 4 at 0xbffda4cf thread T0
    #0 0x26b18
(/Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/a.out+0x1b18)

Address 0xbffda4cf is located in stack of thread T0 at offset 175 in frame
    #0 0x26bef
(/Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/a.out+0x1bef)
...

i.e., the #1 line is missing. Revision r213806 is OK.


             reply	other threads:[~2014-08-14  8:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-14  8:49 dominiq at lps dot ens.fr [this message]
2014-08-14  9:04 ` [Bug sanitizer/62132] " rguenth at gcc dot gnu.org
2014-08-20  8:51 ` [Bug sanitizer/62132] [5 " y.gribov at samsung dot com
2014-08-20  9:24 ` y.gribov at samsung dot com
2014-08-20  9:34 ` dominiq at lps dot ens.fr
2014-08-20  9:45 ` y.gribov at samsung dot com
2014-08-20 10:33 ` iains at gcc dot gnu.org
2014-08-20 13:58 ` y.gribov at samsung dot com
2014-09-14 17:22 ` dominiq at lps dot ens.fr
2014-11-06 13:11 ` dominiq at lps dot ens.fr
2014-11-06 13:17 ` y.gribov at samsung dot com
2014-11-08 14:28 ` iains at gcc dot gnu.org
2014-11-11 12:02 ` dominiq at lps dot ens.fr
2014-11-18 15:05 ` jakub at gcc dot gnu.org
2014-11-19 14:04 ` rguenth at gcc dot gnu.org
2014-11-19 14:12 ` dominiq at lps dot ens.fr
2014-11-19 14:30 ` fxcoudert at gcc dot gnu.org
2014-11-19 14:32 ` fxcoudert at gcc dot gnu.org
2014-11-19 14:37 ` fxcoudert at gcc dot gnu.org
2014-11-19 14:46 ` iains at gcc dot gnu.org
2014-11-20 11:07 ` fxcoudert at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-62132-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).