diff mbox

Function Multiversioning Bug, checking for function versions

Message ID m2bodfoln5.fsf@igel.home
State New
Headers show

Commit Message

Andreas Schwab Dec. 27, 2012, 10:05 a.m. UTC

Comments

Sriraman Tallam Dec. 27, 2012, 7:17 p.m. UTC | #1
On Thu, Dec 27, 2012 at 2:05 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> diff --git a/gcc/ChangeLog b/gcc/ChangeLog
> index 148388d..575e03a 100644
> --- a/gcc/ChangeLog
> +++ b/gcc/ChangeLog
> @@ -1,4 +1,7 @@
> -<<<<<<< .mine
> +2012-12-27  Andreas Schwab  <schwab@linux-m68k.org>
> +
> +       * target.def (supports_function_versions): Fix typo.
> +

>  2012-12-26  Sriraman Tallam  <tmsriram@google.com>
>
>         * doc/tm.texi.in (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Document
> @@ -15,12 +18,10 @@
>         * (is_function_default_version): Check target string.
>         * TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS: New macro.
>
> -=======
>  2012-12-27  Steven Bosscher  <steven@gcc.gnu.org>
>
>         * cgraph.c (verify_cgraph_node): Don't allocate/free visited_nodes set.
>
> ->>>>>>> .r194729
>  2012-12-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
>
>         PR target/53789
> diff --git a/gcc/target.def b/gcc/target.def
> index 79bb955..d0547be 100644
> --- a/gcc/target.def
> +++ b/gcc/target.def
> @@ -2839,7 +2839,7 @@ DEFHOOK
>  (supports_function_versions,
>   "",
>   bool, (void),
> - hool_bool_void_false)
> + hook_bool_void_false)

Thanks for the fix.

-Sri.

>
>  /* Function to determine if one function can inline another function.  */
>  #undef HOOK_PREFIX
> --
> 1.8.0.2
>
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
Alexander Ivchenko Dec. 28, 2012, 7:31 a.m. UTC | #2
I'm sorry - I didn't notice that it works only for c++ frontend. It
works for me now!

thanks,
Alexander

2012/12/27 Sriraman Tallam <tmsriram@google.com>:
> On Thu, Dec 27, 2012 at 2:05 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
>> diff --git a/gcc/ChangeLog b/gcc/ChangeLog
>> index 148388d..575e03a 100644
>> --- a/gcc/ChangeLog
>> +++ b/gcc/ChangeLog
>> @@ -1,4 +1,7 @@
>> -<<<<<<< .mine
>> +2012-12-27  Andreas Schwab  <schwab@linux-m68k.org>
>> +
>> +       * target.def (supports_function_versions): Fix typo.
>> +
>
>>  2012-12-26  Sriraman Tallam  <tmsriram@google.com>
>>
>>         * doc/tm.texi.in (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Document
>> @@ -15,12 +18,10 @@
>>         * (is_function_default_version): Check target string.
>>         * TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS: New macro.
>>
>> -=======
>>  2012-12-27  Steven Bosscher  <steven@gcc.gnu.org>
>>
>>         * cgraph.c (verify_cgraph_node): Don't allocate/free visited_nodes set.
>>
>> ->>>>>>> .r194729
>>  2012-12-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
>>
>>         PR target/53789
>> diff --git a/gcc/target.def b/gcc/target.def
>> index 79bb955..d0547be 100644
>> --- a/gcc/target.def
>> +++ b/gcc/target.def
>> @@ -2839,7 +2839,7 @@ DEFHOOK
>>  (supports_function_versions,
>>   "",
>>   bool, (void),
>> - hool_bool_void_false)
>> + hook_bool_void_false)
>
> Thanks for the fix.
>
> -Sri.
>
>>
>>  /* Function to determine if one function can inline another function.  */
>>  #undef HOOK_PREFIX
>> --
>> 1.8.0.2
>>
>>
>> --
>> Andreas Schwab, schwab@linux-m68k.org
>> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
>> "And now for something completely different."
diff mbox

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 148388d..575e03a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,7 @@ 
-<<<<<<< .mine
+2012-12-27  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* target.def (supports_function_versions): Fix typo.
+
 2012-12-26  Sriraman Tallam  <tmsriram@google.com>
 
 	* doc/tm.texi.in (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Document
@@ -15,12 +18,10 @@ 
 	* (is_function_default_version): Check target string.
 	* TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS: New macro.
 
-=======
 2012-12-27  Steven Bosscher  <steven@gcc.gnu.org>
 
 	* cgraph.c (verify_cgraph_node): Don't allocate/free visited_nodes set.
 
->>>>>>> .r194729
 2012-12-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
 	PR target/53789
diff --git a/gcc/target.def b/gcc/target.def
index 79bb955..d0547be 100644
--- a/gcc/target.def
+++ b/gcc/target.def
@@ -2839,7 +2839,7 @@  DEFHOOK
 (supports_function_versions,
  "",
  bool, (void),
- hool_bool_void_false)
+ hook_bool_void_false)
 
 /* Function to determine if one function can inline another function.  */
 #undef HOOK_PREFIX