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

            Bug ID: 126273
           Summary: gcc.dg/asan/bitint-1.c etc. FAIL
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---
            Target: i?86-pc-solaris2.11

The new gcc.dg/asan/bitint-[12].c tests FAIL on 32-bit Solaris/x86:

+FAIL: gcc.dg/asan/bitint-1.c   -O2  output pattern test
+FAIL: gcc.dg/asan/bitint-1.c   -O2 -flto  output pattern test
+FAIL: gcc.dg/asan/bitint-1.c   -O2 -flto -flto-partition=none  output pattern
test

==12717==ERROR: AddressSanitizer: unknown-crash on address 0xfeffde80 at pc
0x080511a2 bp 0xfeffde38 sp 0xfeffde2c
READ of size 20 at 0xfeffde80 thread T0
    #0 0x080511a1 in foo
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/asan/bitint-1.c:15
    #1 0x080511a1 in main
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/asan/bitint-1.c:21
    #2 0x08050e85 in _start (bitint-1.exe+0x8050e85)

Address 0xfeffde80 is located in stack of thread T0
SUMMARY: AddressSanitizer: unknown-crash
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/asan/bitint-1.c:15 in foo
Shadow bytes around the buggy address:
  0xfeffdc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0xfeffdc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0xfeffdd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0xfeffdd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0xfeffde00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0xfeffde80:[00]00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0xfeffdf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0xfeffdf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0xfeffe000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0xfeffe080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0xfeffe100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==12717==ABORTING


bitint-2.c is the same.

Reply via email to