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]

Re: Enable setting MEM alias checking--ICE on i686-pc-linux-gnu


This patch enabled checking in set_mem_alias_set:

Mon Oct  1 19:20:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

        * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
	Loop through NOPs, placeholders, and components.
	Don't go through NOPs if change mode.
	(record_alias_subset): Do nothing if SUBSET and SET are the same.
	* emit-rtl.c (set_mem_alias_set): Enable check.
	* expr.c (find_placeholder): New function.
	(expand_expr, case PLACEHOLDER_EXPR): Use it.
	(expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
	to modify it and avoid unneeded copies.
	* expr.h (expand_expr): Always define.
	(find_placeholder): New declaration.

The following ICE occurs with todays cvs source:

/home/dave/gnu/gcc-3.1/objdir/gcc/gcj -B/home/dave/gnu/gcc-3.1/objdir/i686-pc-linux-gnu/libjava/ -B/home/dave/gnu/gcc-3.1/objdir/gcc/ --encoding=UTF-8 -fassume-compiled -fclasspath=/home/dave/gnu/gcc-3.1/objdir/i686-pc-linux-gnu/libjava -L/home/dave/gnu/gcc-3.1/objdir/i686-pc-linux-gnu/libjava -ffloat-store -g -O2 -MD -MT java/awt/Checkbox.lo -MF java/awt/Checkbox.d -c ../../../libjava/java/awt/Checkbox.java -fPIC -o java/awt/.libs/Checkbox.o
../../../libjava/java/awt/Checkbox.java: In class `java.awt.Checkbox':
../../../libjava/java/awt/Checkbox.java: In method `java.awt.Checkbox.getSelectedObjects()':
../../../libjava/java/awt/Checkbox.java:89: Internal compiler error in set_mem_alias_set, at emit-rtl.c:1722

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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