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



             Bug #: 55508

           Summary: many test cases fail using -fsanitize=address with

                    internal compiler error: in expand_call_tm

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: sanitizer

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: howa...@nitro.med.uc.edu

                CC: do...@gcc.gnu.org, dvyu...@gcc.gnu.org,

                    ja...@gcc.gnu.org, k...@gcc.gnu.org





Using...



make -k check-gcc  RUNTESTFLAGS="--target_board=unix'{-sanitize=address}'"



on x86_64-apple-darwin12 reveals the following cc1 ICEs...



FAIL: c-c++-common/tm/20100127.c (internal compiler error)

FAIL: c-c++-common/tm/20100127.c (test for excess errors)

FAIL: c-c++-common/tm/20111206.c (internal compiler error)

FAIL: c-c++-common/tm/20111206.c (test for excess errors)

FAIL: gcc.dg/tm/20100519.c (internal compiler error)

FAIL: gcc.dg/tm/20100519.c (test for excess errors)

FAIL: gcc.dg/tm/20100610.c (internal compiler error)

FAIL: gcc.dg/tm/20100610.c (test for excess errors)

FAIL: gcc.dg/tm/20100615-2.c (internal compiler error)

FAIL: gcc.dg/tm/20100615-2.c (test for excess errors)

FAIL: gcc.dg/tm/memopt-10.c (internal compiler error)

FAIL: gcc.dg/tm/memopt-10.c (test for excess errors)

FAIL: gcc.dg/tm/memopt-10.c scan-tree-dump-times tmmark "int tm_save" 1

FAIL: gcc.dg/tm/memopt-11.c (internal compiler error)

FAIL: gcc.dg/tm/memopt-11.c (test for excess errors)

FAIL: gcc.dg/tm/memopt-11.c scan-tree-dump-times tmmark "int tm_save" 1

FAIL: gcc.dg/tm/memopt-12.c (internal compiler error)

FAIL: gcc.dg/tm/memopt-12.c (test for excess errors)

FAIL: gcc.dg/tm/memopt-16.c (internal compiler error)

FAIL: gcc.dg/tm/memopt-16.c (test for excess errors)

FAIL: gcc.dg/tm/memopt-3.c (internal compiler error)

FAIL: gcc.dg/tm/memopt-3.c (test for excess errors)

FAIL: gcc.dg/tm/memopt-3.c scan-tree-dump-times tmmark "logging:

lala.x\\[i_4\\]" 1

FAIL: gcc.dg/tm/memopt-4.c (internal compiler error)

FAIL: gcc.dg/tm/memopt-4.c (test for excess errors)

FAIL: gcc.dg/tm/memopt-5.c (internal compiler error)

FAIL: gcc.dg/tm/memopt-5.c (test for excess errors)

FAIL: gcc.dg/tm/memopt-7.c scan-tree-dump-times tmedge "tm_save.[0-9_]+ = lala"

1

FAIL: gcc.dg/tm/memopt-7.c scan-tree-dump-times tmedge "lala = tm_save" 1

FAIL: gcc.dg/tm/memopt-8.c (internal compiler error)

FAIL: gcc.dg/tm/memopt-8.c (test for excess errors)

FAIL: gcc.dg/tm/memopt-8.c scan-tree-dump-times tmmark "ITM_WU" 1

FAIL: gcc.dg/tm/memopt-9.c (internal compiler error)

FAIL: gcc.dg/tm/memopt-9.c (test for excess errors)

FAIL: gcc.dg/tm/opt-2.c (internal compiler error)

FAIL: gcc.dg/tm/opt-2.c (test for excess errors)

FAIL: gcc.dg/tm/pr47520.c (internal compiler error)

FAIL: gcc.dg/tm/pr47520.c (test for excess errors)

FAIL: gcc.dg/tm/pr51472.c (internal compiler error)

FAIL: gcc.dg/tm/pr51472.c (test for excess errors)

FAIL: gcc.dg/tm/pr52173-1.c (internal compiler error)

FAIL: gcc.dg/tm/pr52173-1.c (test for excess errors)

FAIL: gcc.dg/tm/pr53850.c (internal compiler error)

FAIL: gcc.dg/tm/pr53850.c (test for excess errors)

FAIL: gcc.dg/tm/pub-safety-1.c (internal compiler error)

FAIL: gcc.dg/tm/pub-safety-1.c (test for excess errors)

FAIL: gcc.dg/tm/reg-promotion.c (internal compiler error)

FAIL: gcc.dg/tm/reg-promotion.c (test for excess errors)

FAIL: gcc.dg/tm/vector-1.c (internal compiler error)

FAIL: gcc.dg/tm/vector-1.c (test for excess errors)



These are of the form...



Executing on host: /sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/xgcc

-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/

/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/gcc/testsuite/c-c++-common/tm/20100127.c

 -fno-diagnostics-show-caret   -fgnu-tm -O -fdump-tree-tmmark -S 

-fsanitize=address -o 20100127.s    (timeout = 300)

/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/gcc/testsuite/c-c++-common/tm/20100127.c:

In function 'test':^M

/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/gcc/testsuite/c-c++-common/tm/20100127.c:27:6:

internal compiler error: in expand_call_tm, at trans-mem.c:2273^M

^M

/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/gcc/testsuite/c-c++-common/tm/20100127.c:27:6:

internal compiler error: Abort trap: 6^M

xgcc: internal compiler error: Abort trap: 6 (program cc1)^M

compiler exited with status 1

output is:

/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/gcc/testsuite/c-c++-common/tm/20100127.c:

In function 'test':^M

/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/gcc/testsuite/c-c++-common/tm/20100127.c:27:6:

internal compiler error: in expand_call_tm, at trans-mem.c:2273^M

^M

/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/gcc/testsuite/c-c++-common/tm/20100127.c:27:6:

internal compiler error: Abort trap: 6^M

xgcc: internal compiler error: Abort trap: 6 (program cc1)^M



FAIL: c-c++-common/tm/20100127.c (internal compiler error)

FAIL: c-c++-common/tm/20100127.c (test for excess errors)



which backtraces as...



(gdb) bt

#0  0x00007fff90230d46 in __kill ()

#1  0x00007fff94c67df0 in abort ()

#2  0x0000000100ada524 in uw_init_context_1 (context=0x7fff5fbfed80,

outer_cfa=0x7fff5fbff030, outer_ra=0x100a63465) at

../../../gcc-4.8-20121127/libgcc/unwind-dw2.c:1502

Reply via email to