[Bug sanitizer/56990] ICE: SIGFPE with -fsanitize=thread and empty struct

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 22 17:03:00 GMT 2013


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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-04-22 17:03:20 UTC ---
Author: mpolacek
Date: Mon Apr 22 17:02:49 2013
New Revision: 198147

URL: http://gcc.gnu.org/viewcvs?rev=198147&root=gcc&view=rev
Log:
    PR sanitizer/56990
    * tsan.c (instrument_expr): Don't instrument expression
    in case its size is zero.

    * gcc.dg/pr56990.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/pr56990.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tsan.c



More information about the Gcc-bugs mailing list