From c1465d214794ae6ce6cdd9d7c1bc5c0e7d2bd545 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Fri, 15 May 1998 12:50:30 +0000 Subject: stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype. ` Fri May 15 12:44:57 1998 Benjamin Kosnik * stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype. fixes g++/15561 From-SVN: r19777 --- gcc/stor-layout.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/stor-layout.c') diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 606ebb1..0c1710b 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -1123,6 +1123,8 @@ set_sizetype (type) individually in each front end. */ if (! bitsizetype) bitsizetype = make_node (INTEGER_TYPE); + if (TYPE_NAME (sizetype) && ! TYPE_NAME (bitsizetype)) + TYPE_NAME (bitsizetype) = TYPE_NAME (sizetype); precision = oprecision + BITS_PER_UNIT_LOG + 1; /* However, when cross-compiling from a 32 bit to a 64 bit host, -- cgit v1.1