This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bug fix in `tree.c': build_range_type


Hello,

please find below a tiny bug fix for egcs-19980721.

Greetings,

    Peter

(When replying, please CC directly to me.  I suspect there is something
wrong with my subscription to the EGCS mailing lists.)

-- 
Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/
Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-980511
  PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75
Fight the SPAM and UBE! - http://spam.abuse.net/ - http://maps.vix.com/

8< ---------------------------------------------------------------------

Mon Jul 27 16:56 MEST 1998  Peter Gerwinski <peter@gerwinski.de>

        * tree.c (build_range_type): Copy TYPE_SIZE_UNIT.

*** gcc-egcs-2.91.51/tree.c.orig        Mon Jul 27 16:51:21 1998
--- gcc-egcs-2.91.51/tree.c     Mon Jul 27 16:49:48 1998
*************** build_range_type (type, lowval, highval)
*** 4164,4169 ****
--- 4164,4170 ----
    TYPE_PRECISION (itype) = TYPE_PRECISION (type);
    TYPE_MODE (itype) = TYPE_MODE (type);
    TYPE_SIZE (itype) = TYPE_SIZE (type);
+   TYPE_SIZE_UNIT (itype) = TYPE_SIZE_UNIT (type);
    TYPE_ALIGN (itype) = TYPE_ALIGN (type);
    if (TREE_CODE (lowval) == INTEGER_CST)
      {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]