[Bug sanitizer/55702] New: ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return()

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Sat Dec 15 07:29:00 GMT 2012


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

             Bug #: 55702
           Summary: ICE: in instrument_func_exit, at tsan.c:684 with
                    -fsanitize=thread and __builtin_return()
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: dodji@gcc.gnu.org, dvyukov@gcc.gnu.org,
                    jakub@gcc.gnu.org, kcc@gcc.gnu.org


Created attachment 28974
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28974
reduced testcase

Compiler output:
$ gcc -fsanitize=thread testcase.c
testcase.c: In function 'foo':
testcase.c:2:1: internal compiler error: in instrument_func_exit, at tsan.c:684
 foo ()
 ^
0xa40bf8 instrument_func_exit
        /mnt/svn/gcc-trunk/gcc/tsan.c:684
0xa40bf8 tsan_pass
        /mnt/svn/gcc-trunk/gcc/tsan.c:702
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r194496 - crash



More information about the Gcc-bugs mailing list