From b7886f1470bf8748ad22464177463f19f6376a19 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Mon, 11 Sep 2006 21:25:45 +0000 Subject: [PATCH] extend.texi (Other Builtins): Actually use the macro argument in the documentation example for... 2006-09-11 Josh Triplett * doc/extend.texi (Other Builtins): Actually use the macro argument in the documentation example for __builtin_types_compatible_p. From-SVN: r116858 --- gcc/ChangeLog | 6 ++++++ gcc/doc/extend.texi | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index defc9d591883..71ef415341bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-09-11 Josh Triplett + + * doc/extend.texi (Other Builtins): Actually use the macro + argument in the documentation example for + __builtin_types_compatible_p. + 2006-09-11 Eric Botcazou PR rtl-optimization/28726 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index b53629b5a98e..625c833d4a3a 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -5717,7 +5717,7 @@ depending on the arguments' types. For example: @smallexample #define foo(x) \ (@{ \ - typeof (x) tmp; \ + typeof (x) tmp = (x); \ if (__builtin_types_compatible_p (typeof (x), long double)) \ tmp = foo_long_double (tmp); \ else if (__builtin_types_compatible_p (typeof (x), double)) \