diff options
author | Jan Hubicka <jh@suse.cz> | 2013-09-01 13:59:27 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-09-01 11:59:27 +0000 |
commit | 63bf9a906c4c8fa5952fd494e8b7d45753b887bb (patch) | |
tree | f5f01e673b1da6ea30dda2913878744df6918adb /gcc/builtins.c | |
parent | f5c7238f2ea0804ae11af08140695fca34ec3004 (diff) | |
download | gcc-63bf9a906c4c8fa5952fd494e8b7d45753b887bb.zip gcc-63bf9a906c4c8fa5952fd494e8b7d45753b887bb.tar.gz gcc-63bf9a906c4c8fa5952fd494e8b7d45753b887bb.tar.bz2 |
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
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 92aec31..581a050 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -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) |