* Fix alloca handling of very large datastructures
@ 2003-11-30 23:17 Jan Hubicka
0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2003-11-30 23:17 UTC (permalink / raw)
To: gcc-patches
Hi,
another bug...
Bootstrapped/regtested x86_64-linux, will commit it as obvious.
2003-11-30 Jan Hubicka <jh@suse.cz>
* 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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-11-30 21:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-30 23:17 Fix alloca handling of very large datastructures Jan Hubicka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).