From owner-p4-projects Fri Sep 13 9: 2:46 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id F13C037B401; Fri, 13 Sep 2002 09:02:37 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8175E37B400 for ; Fri, 13 Sep 2002 09:02:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15D9F43E3B for ; Fri, 13 Sep 2002 09:02:37 -0700 (PDT) (envelope-from amigus@FreeBSD.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8DG2aJU038651 for ; Fri, 13 Sep 2002 09:02:36 -0700 (PDT) (envelope-from amigus@FreeBSD.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8DG2a9K038641 for perforce@freebsd.org; Fri, 13 Sep 2002 09:02:36 -0700 (PDT) Date: Fri, 13 Sep 2002 09:02:36 -0700 (PDT) Message-Id: <200209131602.g8DG2a9K038641@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to amigus@FreeBSD.org using -f From: Adam Migus Subject: PERFORCE change 17446 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17446 Change 17446 by amigus@amigus_caster on 2002/09/13 09:01:38 Fixes to make kde3 compile. Affected files ... .. //depot/projects/trustedbsd/base/contrib/gcc/calls.c#7 edit .. //depot/projects/trustedbsd/base/contrib/gcc/cp/cp-lang.c#3 edit .. //depot/projects/trustedbsd/base/contrib/gcc/loop.c#8 edit Differences ... ==== //depot/projects/trustedbsd/base/contrib/gcc/calls.c#7 (text+ko) ==== @@ -4491,7 +4491,7 @@ emit_push_insn for BLKmode is careful to avoid it. */ excess = (arg->size.constant - int_size_in_bytes (TREE_TYPE (pval)) + partial * UNITS_PER_WORD); - size_rtx = expr_size (pval); + size_rtx = GEN_INT (int_size_in_bytes (TREE_TYPE (pval))); } if ((flags & ECF_SIBCALL) && GET_CODE (arg->value) == MEM) ==== //depot/projects/trustedbsd/base/contrib/gcc/cp/cp-lang.c#3 (text+ko) ==== @@ -122,14 +122,8 @@ { if (CLASS_TYPE_P (TREE_TYPE (exp))) { - /* The backend should not be interested in the size of an expression - of a type with both of these set; all copies of such types must go - through a constructor or assignment op. */ - if (TYPE_HAS_COMPLEX_INIT_REF (TREE_TYPE (exp)) - && TYPE_HAS_COMPLEX_ASSIGN_REF (TREE_TYPE (exp))) - abort (); - /* This would be wrong for a type with virtual bases, but they are - caught by the abort above. */ + /* This would be wrong for a type with virtual bases, but they should + not get here. */ return CLASSTYPE_SIZE_UNIT (TREE_TYPE (exp)); } else ==== //depot/projects/trustedbsd/base/contrib/gcc/loop.c#8 (text+ko) ==== @@ -9264,7 +9264,7 @@ { case LE: if ((unsigned HOST_WIDE_INT) const_val != max_val >> 1) - code = LT, op1 = GEN_INT (const_val + 1); + code = LT, op1 = gen_int_mode (const_val + 1, GET_MODE (op0)); break; /* When cross-compiling, const_val might be sign-extended from @@ -9273,17 +9273,17 @@ if ((HOST_WIDE_INT) (const_val & max_val) != (((HOST_WIDE_INT) 1 << (GET_MODE_BITSIZE (GET_MODE (op0)) - 1)))) - code = GT, op1 = GEN_INT (const_val - 1); + code = GT, op1 = gen_int_mode (const_val - 1, GET_MODE (op0)); break; case LEU: if (uconst_val < max_val) - code = LTU, op1 = GEN_INT (uconst_val + 1); + code = LTU, op1 = gen_int_mode (uconst_val + 1, GET_MODE (op0)); break; case GEU: if (uconst_val != 0) - code = GTU, op1 = GEN_INT (uconst_val - 1); + code = GTU, op1 = gen_int_mode (uconst_val - 1, GET_MODE (op0)); break; default: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message