diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-09 23:01:15 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-09 23:01:15 +0000 |
commit | 198622c0a6c4cc57deb6e8bd6ab8ff0f0ffcf451 (patch) | |
tree | f58c3d091da63db8a731136167c34e30bcf310d2 /gcc/function.h | |
parent | d7e5a0b1957182502b292d13c2374fe644d0c6c4 (diff) | |
download | gcc-198622c0a6c4cc57deb6e8bd6ab8ff0f0ffcf451.tar.gz |
PR middle-end/38454
* function.h (struct function): Add always_inline_functions_inlined.
* ipa-inline.c (cgraph_early_inlining): Set it to true.
* tree-optimize.c (execute_fixup_cfg): Likewise.
* builtins.c (avoid_folding_inline_builtin): New function.
(fold_call_expr): Don't optimize always_inline builtins before
inlining.
(fold_call_stmt): Likewise.
(fold_builtin_call_array): Likewise. Don't call
fold_builtin_varargs for BUILT_IN_MD builtins.
* gcc.dg/memset-1.c: New test.
* gcc.dg/memcpy-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142617 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h index 16f2324abff..68df55e1a6e 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -578,6 +578,7 @@ struct function GTY(()) unsigned int dont_save_pending_sizes_p : 1; unsigned int after_inlining : 1; + unsigned int always_inline_functions_inlined : 1; /* Fields below this point are not set for abstract functions; see allocate_struct_function. */ |