From 247751724f9ddd192bfa6db2564af4343360f86b Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Thu, 3 Sep 1998 12:41:14 +0000 Subject: Chill testsuite problems... Thu Sep 3 15:32:03 1998 Dave Brolley * typeck.c (layout_chill_range_type): set TYPE_SIZE_UNIT. From-SVN: r22207 --- gcc/ch/ChangeLog | 4 ++++ gcc/ch/typeck.c | 1 + 2 files changed, 5 insertions(+) (limited to 'gcc') diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index ff42469..99b7e17 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,7 @@ +Thu Sep 3 15:32:03 1998 Dave Brolley + + * typeck.c (layout_chill_range_type): set TYPE_SIZE_UNIT. + Wed Sep 02 09:25:29 1998 Nick Clifton * lex.c (check_newline): Change how HANDLE_PRAGMA is called. diff --git a/gcc/ch/typeck.c b/gcc/ch/typeck.c index 5f97494..72cff6d 100644 --- a/gcc/ch/typeck.c +++ b/gcc/ch/typeck.c @@ -2692,6 +2692,7 @@ layout_chill_range_type (rangetype, must_be_const) TYPE_PRECISION (rangetype) = TYPE_PRECISION (type); TYPE_MODE (rangetype) = TYPE_MODE (type); TYPE_SIZE (rangetype) = TYPE_SIZE (type); + TYPE_SIZE_UNIT (rangetype) = TYPE_SIZE_UNIT (type); TYPE_ALIGN (rangetype) = TYPE_ALIGN (type); TREE_UNSIGNED (rangetype) = TREE_UNSIGNED (type); CH_NOVELTY (rangetype) = CH_NOVELTY (type); -- cgit v1.1