[Bug tree-optimization/90245] A data race with a segmentation fault handler
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 25 09:21:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90245
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2019-4-25
CC| |rguenth at gcc dot gnu.org
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
More clarification:
54 /* The second write access should not invoke the handler. */
55 crasher (page);
56 /* Check that the handler was called only once. */
57 if (handler_called != 1)
58 {
59 __builtin_printf ("handler_called == 1\n");
60 exit (1);
61 }
The segfault happens at line 55.
More information about the Gcc-bugs
mailing list