From d787aad9e533c6dac57c40a49346456957f45b41 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@gnu.org>
Date: Fri, 2 Feb 1996 17:42:40 +0000
Subject: [PATCH] (finish_struct): Fix typo in transparent union warning that
 led to core dump.

From-SVN: r11161
---
 gcc/c-decl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 70fa447c3807..3483e321fe59 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
-- 
GitLab