From 76118c110284872b1bbb2eac7b8c37d4907ee36b Mon Sep 17 00:00:00 2001 From: "Herman A.J. ten Brugge" Date: Sat, 29 Jun 2002 05:05:50 +0200 Subject: [PATCH] c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and flag_inline_trees to... * c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and flag_inline_trees to enable inlining. From-SVN: r55091 --- gcc/ChangeLog | 5 +++++ gcc/config/c4x/c4x.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b424e39d658..01539f5b647 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-29 Herman A.J. ten Brugge + + * c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and + flag_inline_trees to enable inlining. + 2002-06-28 Phil Edwards * configure.in (gcc_gxx_include_dir): Change to match versioned diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h index e73c40eb0a6..66ea582f651 100644 --- a/gcc/config/c4x/c4x.h +++ b/gcc/config/c4x/c4x.h @@ -35,7 +35,8 @@ builtin_define ("_BIGMODEL"); \ if (!TARGET_MEMPARM) \ builtin_define ("_REGPARM"); \ - if (flag_inline_functions) \ + if (flag_inline_functions \ + || flag_inline_trees) \ builtin_define ("_INLINE"); \ if (TARGET_C3X) \ { \ -- 2.30.2