diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/doc/extend.texi | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index defc9d5..71ef415 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-09-11 Josh Triplett <josh@freedesktop.org> + + * doc/extend.texi (Other Builtins): Actually use the macro + argument in the documentation example for + __builtin_types_compatible_p. + 2006-09-11 Eric Botcazou <ebotcazou@libertysurf.fr> PR rtl-optimization/28726 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index b53629b..625c833 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)) \ |
