Last alignment change for MEM tracking - ppc fails to bootstrap

Alan Matsuoka alanm@redhat.com
Tue Nov 13 15:03:00 GMT 2001


Bootstrapping on YD linux failed here.


stage1/xgcc -Bstage1/
-B/home/alanm/PPC-FSF-ELF/powerpc-unknown-linux-gnu/bin/ -c  -DIN_GCC   
-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I.
-I../../SRC/gcc -I../../SRC/gcc/. -I../../SRC/gcc/config
-I../../SRC/gcc/../include ../../SRC/gcc/stringpool.c -o stringpool.o
../../SRC/gcc/stringpool.c: In function `ggc_alloc_string':
../../SRC/gcc/stringpool.c:87: Internal compiler error in
emit_block_move, at expr.c:1644
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [stringpool.o] Error 1
make[2]: Leaving directory `/local/alanm/source/FSF/powerpc-linux/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/local/alanm/source/FSF/powerpc-linux/gcc'
make: *** [bootstrap] Error 2
1514.010u 54.940s 26:50.17 97.4%        0+0k 0+0io 1678106pf+0w
[alanm@tortuga powerpc-linux]$ pwd
/local/alanm/source/FSF/powerpc-linux
[alanm@tortuga powerpc-linux]$

Breakpoint 1, internal_error (msgid=0x104ce408 "Internal compiler error
in %s, at %s:%d")
    at ../../SRC/gcc/diagnostic.c:1218
1218      VA_OPEN (ap, msgid);
(gdb) bt
#0  internal_error (msgid=0x104ce408 "Internal compiler error in %s, at
%s:%d")
    at ../../SRC/gcc/diagnostic.c:1218
#1  0x100ea1f4 in fancy_abort (file=0x104d3340 "../../SRC/gcc/expr.c",
line=1644,
    function=0x104d3400 "emit_block_move") at
../../SRC/gcc/diagnostic.c:1450
#2  0x10137528 in emit_block_move (x=0x3044ed08, y=0x3042d8e8,
size=0x30043410) at ../../SRC/gcc/expr.c:1644
#3  0x10163e00 in expand_expr (exp=0x3044be10, target=0x3044ecf0,
tmode=SImode, modifier=EXPAND_NORMAL)
    at ../../SRC/gcc/expr.c:8668
#4  0x10340c30 in expand_return (retval=0x30425860) at
../../SRC/gcc/stmt.c:3300
#5  0x1007c4a8 in genrtl_return_stmt (stmt=0x3044be28) at
../../SRC/gcc/c-semantics.c:466
#6  0x1007dec0 in expand_stmt (t=0x3044be28) at
../../SRC/gcc/c-semantics.c:747
#7  0x1007bb60 in genrtl_if_stmt (t=0x30425840) at
../../SRC/gcc/c-semantics.c:376
#8  0x1007dfec in expand_stmt (t=0x30425840) at
../../SRC/gcc/c-semantics.c:771
#9  0x1007dab0 in genrtl_compound_stmt (t=0x3044bcd8) at
../../SRC/gcc/c-semantics.c:668
#10 0x1007dff8 in expand_stmt (t=0x3044bcd8) at
../../SRC/gcc/c-semantics.c:775
#11 0x10035768 in c_expand_body (fndecl=0x3034c480, nested_p=0,
can_defer_p=1) at ../../SRC/gcc/c-decl.c:6854
#12 0x10035334 in finish_function (nested=0) at
../../SRC/gcc/c-decl.c:6754
#13 0x100026e0 in yyparse_1 () at c-parse.y:355
#14 0x10013100 in yyparse () at ../../SRC/gcc/c-lex.c:159
#15 0x1035ad78 in compile_file () at ../../SRC/gcc/toplev.c:2159
#16 0x10361ad0 in toplev_main (argc=73, argv=0x7fffefa4) at
../../SRC/gcc/toplev.c:5199
#17 0x1009cc58 in main (argc=73, argv=0x7fffefa4) at
../../SRC/gcc/main.c:35
#18 0xfee40f8 in __libc_start_main (argc=73, ubp_av=0x7fffefa4,
ubp_ev=0x104d334e, auxvec=0x7ffff19c,
    rtld_fini=0x104ce408 <this_file.241+28>, stinfo=0x104b0800,
stack_on_entry=0x7fffe150)
    at ../sysdeps/powerpc/elf/libc-start.c:119
(gdb) f 2
#2  0x10137528 in emit_block_move (x=0x3044ed08, y=0x3042d8e8,
size=0x30043410) at ../../SRC/gcc/expr.c:1644
1644        abort ();
(gdb) l
1639      tree call_expr, arg_list;
1640    #endif
1641      unsigned int align = MIN (MEM_ALIGN (x), MEM_ALIGN (y));
1642
1643      if (GET_MODE (x) != BLKmode)
1644        abort ();
1645
1646      if (GET_MODE (y) != BLKmode)
1647        abort ();
1648
(gdb) pr x
(mem/s/u:QI (reg/f:SI 111 virtual-stack-vars) [3 S1 A8])
void(gdb) pr y

(mem/s/u:BLK (symbol_ref:SI ("@empty_string")) [3 empty_string+0 S1 A8])
void(gdb) whatis size
type = rtx
(gdb) pr size

(const_int 1 [0x1])
void(gdb) get_mode x
QImode(gdb) get_mode y
BLKmode(gdb)



-- 
Alan Matsuoka
GCC Engineering
Red Hat Canada, Ltd
mailto:alanm@redhat.com Tel: (416) 482-2661 x250 / Fax: (416) 482-6299



More information about the Gcc-patches mailing list