aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@gnu.org>1996-02-02 17:42:40 +0000
committerPaul Eggert <eggert@gnu.org>1996-02-02 17:42:40 +0000
commitd787aad9e533c6dac57c40a49346456957f45b41 (patch)
tree328a4adf50a76277a985787ea7f167b2e003f5d2 /gcc
parente64bb70660ba27b4834be2bd74aeb5daee765ea0 (diff)
downloadgcc-d787aad9e533c6dac57c40a49346456957f45b41.zip
gcc-d787aad9e533c6dac57c40a49346456957f45b41.tar.gz
gcc-d787aad9e533c6dac57c40a49346456957f45b41.tar.bz2
(finish_struct): Fix typo in transparent union warning that led to core dump.
From-SVN: r11161
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 70fa447..3483e321 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -5720,7 +5720,7 @@ finish_struct (t, fieldlist, attributes)
&& TYPE_MODE (t) != DECL_MODE (TYPE_FIELDS (t)))
{
TYPE_TRANSPARENT_UNION (t) = 0;
- warning ("cannot make `%s' a transparent union");
+ warning ("union cannot be made transparent");
}
/* If this structure or union completes the type of any previous