Commit 63bf9a90 by Jan Hubicka Committed by Jan Hubicka

fork-instrumentation.c: New testcase.


	* gcc.dg/fork-instrumentation.c: New testcase.
	* builtins.c (expand_builtin): Do not exit early for gcov
	instrumented functions.

From-SVN: r202142
parent f5c7238f
2013-08-31 Jan Hubicka <jh@suse.cz>
* bulitins.c (expand_builtin): Do not early exit for gcov
instrumented functions.
2013-08-31 Marek Polacek <polacek@redhat.com>
* ubsan.c: Include tm_p.h.
......
......@@ -5851,6 +5851,13 @@ expand_builtin (tree exp, rtx target, rtx subtarget, enum machine_mode mode,
set of builtins. */
if (!optimize
&& !called_as_built_in (fndecl)
&& fcode != BUILT_IN_FORK
&& fcode != BUILT_IN_EXECL
&& fcode != BUILT_IN_EXECV
&& fcode != BUILT_IN_EXECLP
&& fcode != BUILT_IN_EXECLE
&& fcode != BUILT_IN_EXECVP
&& fcode != BUILT_IN_EXECVE
&& fcode != BUILT_IN_ALLOCA
&& fcode != BUILT_IN_ALLOCA_WITH_ALIGN
&& fcode != BUILT_IN_FREE)
......
2013-08-31 Jan Hubicka <jh@suse.cz>
* gcc.dg/fork-instrumentation.c: New testcase.
2013-08-30 Uros Bizjak <ubizjak@gmail.com>
* g++.dg/abi/mangle33.C (dg-final): Use match count in scan RE.
......
/* { dg-do compile } */
/* { dg-options "-O0 -fprofile-generate" } */
int fork(void);
t()
{
fork ();
}
/* { dg-final { scan-assembler "gcov_fork" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment