diff --git a/gcc/ChangeLog b/gcc/ChangeLog index df3198885ba..a26d8b4f2c6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-12-21 Jonathan Wakely + Jim Avera + + * doc/extend.texi (__builtin_expect): Improve example. + 2011-12-21 Uros Bizjak * config/i386/i386.c (ix86_option_override_internal): Enable flag_ree diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 6c904c10030..124bdbaed97 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -7932,7 +7932,7 @@ expressions for @var{exp}, you should use constructions such as @smallexample if (__builtin_expect (ptr != NULL, 1)) - error (); + foo (*ptr); @end smallexample @noindent