public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/99179] New: asan failures with -Os on x86_64-apple-darwin20
@ 2021-02-20 13:27 dominiq at lps dot ens.fr
  2021-02-20 20:25 ` [Bug sanitizer/99179] " iains at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2021-02-20 13:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99179
           Summary: asan failures with -Os on x86_64-apple-darwin20
           Product: gcc
           Version: 11.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,
                    marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-apple-darwin20
            Target: x86_64-apple-darwin20
             Build: x86_64-apple-darwin20

The following asan tests fail with -Os on x86_64-apple-darwin20

FAIL: c-c++-common/asan/alloca_big_alignment.c   -Os  output pattern test
FAIL: c-c++-common/asan/alloca_detect_custom_size.c   -Os  output pattern test
FAIL: c-c++-common/asan/alloca_overflow_partial.c   -Os  output pattern test
FAIL: c-c++-common/asan/alloca_overflow_right.c   -Os  output pattern test
FAIL: c-c++-common/asan/alloca_underflow_left.c   -Os  output pattern test

With -Os the output is

WRITE of size 1 at 0x7ffee72a5f8a thread T0
    #0 0x108959dfc in foo(int, int) alloca_big_alignment.c:10
    #1 0x108959e3b in main alloca_big_alignment.c:15

while it is

WRITE of size 1 at 0x7ffeedd4ef8a thread T0
    #0 0x101eb0def in foo(int, int) alloca_big_alignment.c:11
    #1 0x101eb0e04 in main alloca_big_alignment.c:15

with the other options: alloca_big_alignment.c:10 versus
alloca_big_alignment.c:11

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

end of thread, other threads:[~2023-05-08 12:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-20 13:27 [Bug sanitizer/99179] New: asan failures with -Os on x86_64-apple-darwin20 dominiq at lps dot ens.fr
2021-02-20 20:25 ` [Bug sanitizer/99179] " iains at gcc dot gnu.org
2021-03-17 19:24 ` iains at gcc dot gnu.org
2021-03-18  9:51 ` [Bug sanitizer/99179] asan failures with -Os on x86_64-apple-darwin iains at gcc dot gnu.org
2022-05-06  8:30 ` jakub at gcc dot gnu.org
2023-05-08 12:21 ` rguenth 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).