summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-common.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d3646c16e97..78ecd6a6575 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-13 Dirk Mueller <dmueller@suse.de>
+
+ * c-common.c (strict_aliasing_warning): Fix formatting.
+
2006-08-13 Matthias Klose <doko@debian.org>
* doc/invoke.texi: Fix spelling errors.
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 71f8ce689fd..58c48d88368 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -976,11 +976,11 @@ unsigned_conversion_warning (tree result, tree operand)
/* Print a warning about casts that might indicate violation
of strict aliasing rules if -Wstrict-aliasing is used and
- strict aliasing mode is in effect. otype is the original
- TREE_TYPE of expr, and type the type we're casting to. */
+ strict aliasing mode is in effect. OTYPE is the original
+ TREE_TYPE of EXPR, and TYPE the type we're casting to. */
void
-strict_aliasing_warning(tree otype, tree type, tree expr)
+strict_aliasing_warning (tree otype, tree type, tree expr)
{
if (flag_strict_aliasing && warn_strict_aliasing
&& POINTER_TYPE_P (type) && POINTER_TYPE_P (otype)
OpenPOWER on IntegriCloud