This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: More on VIEW_CONVERT_EXPR


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



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