reload move2add may drop mode truncation

Andreas Jaeger aj@suse.de
Sat May 10 08:46:00 GMT 2003


Alexandre Oliva <aoliva@redhat.com> writes:

> On Apr 17, 2003, Alexandre Oliva <aoliva@redhat.com> wrote:
>
>> 	* reload1.c (reload_cse_move2add): Don't turn an implicit
>> 	truncation into a self-set in the narrow mode.
>
> Ping?
> http://gcc.gnu.org/ml/gcc-patches/2003-04/msg01389.html

This patch is broken, now bootstrap on i686-linux-gnu fails with
checking enabled:
stage1/xgcc -Bstage1/ -B/opt/gcc/3.4-devel/i686-suse-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/cvs/gcc/gcc -I/cvs/gcc/gcc/. -I/cvs/gcc/gcc/config -I/cvs/gcc/gcc/../include \
  /cvs/gcc/gcc/gengtype.c -o gengtype.o
/cvs/gcc/gcc/gengtype.c: In function `write_func_for_structure':
/cvs/gcc/gcc/gengtype.c:2100: internal compiler error: RTL check: expected code `const_int', have `reg' in reload_cse_move2add, at reload1.c:9263
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [gengtype.o] Error 1

Alexandre, please look into this,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-patches mailing list