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: unassig...@gcc.gnu.org

        ReportedBy: zso...@seznam.cz

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

                    ja...@gcc.gnu.org, k...@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

Reply via email to