From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20732 invoked by alias); 30 Nov 2003 21:02:03 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 20725 invoked from network); 30 Nov 2003 21:02:01 -0000 Received: from unknown (HELO nikam.ms.mff.cuni.cz) (195.113.18.106) by sources.redhat.com with SMTP; 30 Nov 2003 21:02:01 -0000 Received: from camelot.ms.mff.cuni.cz (kampanus.ms.mff.cuni.cz [195.113.18.107]) by nikam.ms.mff.cuni.cz (Postfix) with SMTP id D365E4DED0 for ; Sun, 30 Nov 2003 22:02:02 +0100 (CET) Received: by camelot.ms.mff.cuni.cz (sSMTP sendmail emulation); Sun, 30 Nov 2003 22:02:02 +0100 Date: Sun, 30 Nov 2003 23:17:00 -0000 From: Jan Hubicka To: gcc-patches@gcc.gnu.org Subject: Fix alloca handling of very large datastructures Message-ID: <20031130210201.GA13522@kam.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-SW-Source: 2003-11/txt/msg02385.txt.bz2 Hi, another bug... Bootstrapped/regtested x86_64-linux, will commit it as obvious. 2003-11-30 Jan Hubicka * explow.c (round_push): Fix handling of large sizes. Index: explow.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/explow.c,v retrieving revision 1.104.2.1 diff -c -3 -p -r1.104.2.1 explow.c *** explow.c 11 Apr 2003 22:56:05 -0000 1.104.2.1 --- explow.c 29 Nov 2003 21:34:16 -0000 *************** round_push (size) *** 947,953 **** return size; if (GET_CODE (size) == CONST_INT) { ! int new = (INTVAL (size) + align - 1) / align * align; if (INTVAL (size) != new) size = GEN_INT (new); } --- 947,953 ---- return size; if (GET_CODE (size) == CONST_INT) { ! HOST_WIDE_INT new = (INTVAL (size) + align - 1) / align * align; if (INTVAL (size) != new) size = GEN_INT (new); }