This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More on VIEW_CONVERT_EXPR
- From: Laurent GUERBY <laurent at guerby dot net>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: rth at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Thu, 22 Jul 2004 08:35:18 +0200
- Subject: Re: More on VIEW_CONVERT_EXPR
- References: <10407220130.AA17260@vlsi1.ultra.nyu.edu>
On Thu, 2004-07-22 at 03:30, Richard Kenner wrote:
> Also, did you see my message about the x86 bootstrap? Does that fix it for
> you? Do you think that's the right approach?
I didn't work for me when applying:
Index: expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/expr.c,v
retrieving revision 1.688
diff -u -r1.688 expr.c
--- expr.c 21 Jul 2004 19:23:02 -0000 1.688
+++ expr.c 22 Jul 2004 06:28:24 -0000
@@ -3363,6 +3363,7 @@
from function arguments with stores to outgoing arguments
of sibling calls. */
set_mem_alias_set (dest, 0);
+ RTX_UNCHANGING_P (dest) = 0;
}
emit_move_insn (dest, x);
I still got a bootstrap failure but at a different place:
stage2/xgcc -Bstage2/ -B/home/guerby/work/gcc/install/install-20040721T203639/i686-pc-linux-gnu/bin/ -c -g -O2 -gnatpg -gnata -I- -I. -Iada -I/home/guerby/work/gcc/version-head/gcc/ada /home/guerby/work/gcc/version-head/gcc/ada/erroutc.adb -o ada/erroutc.o
+===========================GNAT BUG DETECTED==============================+
| 3.5.0 20040721 (experimental) (i686-pc-linux-gnu) Storage_Error heap exhausted|
| Error detected at erroutc.adb:996:8 |
I noticed there's another set_mem_alias_set (targ, 0) with an identical
comment at line 355 of expr.c
Laurent