diff options
author | Josh Triplett <josh@freedesktop.org> | 2006-09-11 21:25:45 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2006-09-11 21:25:45 +0000 |
commit | b7886f1470bf8748ad22464177463f19f6376a19 (patch) | |
tree | 3be90b28a60324e934ed72f586947bfabc760516 | |
parent | 2e9182fd4afeef974ac3a3404701f81f7e9c556f (diff) | |
download | gcc-b7886f1470bf8748ad22464177463f19f6376a19.zip gcc-b7886f1470bf8748ad22464177463f19f6376a19.tar.gz gcc-b7886f1470bf8748ad22464177463f19f6376a19.tar.bz2 |
extend.texi (Other Builtins): Actually use the macro argument in the documentation example for...
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.
From-SVN: r116858
-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)) \ |