This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
no subject (file transmission)
- To: gcc-bugs at gcc dot gnu dot org
- Subject: no subject (file transmission)
- From: Rodney Brown <rdb at localhost>
- Date: Tue, 4 Jul 2000 23:45:21 +1000 (EST)
- Reply-To: RDBrown at mira dot net, RodneyBrown at pmsc dot com
stage2/xgcc -Bstage2/ -B/usr/local/hppa2.0-hp-hpux10.20/bin/ -c -DIN_GCC -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -O2 -g -O2 -DHAVE_CONFIG_H -I. -I../../egcs-20000703/gcc -I../../egcs-20000703/gcc/config -I../../egcs-20000703/gcc/../include ../../egcs-20000703/gcc/gengenrtl.c
In file included from ../../egcs-20000703/gcc/gansidecl.h:28,
from hconfig.h:4,
from ../../egcs-20000703/gcc/gengenrtl.c:22:
../../egcs-20000703/include/ansidecl.h:186:16: warning: integer overflow in preprocessor expression
../../egcs-20000703/include/ansidecl.h:192:17: warning: integer overflow in preprocessor expression
../../egcs-20000703/include/ansidecl.h:201:17: warning: integer overflow in preprocessor expression
../../egcs-20000703/include/ansidecl.h:228:15: warning: integer overflow in preprocessor expression
In file included from hconfig.h:4,
from ../../egcs-20000703/gcc/gengenrtl.c:22:
../../egcs-20000703/gcc/gansidecl.h:37:16: warning: integer overflow in preprocessor expression
In file included from ../../egcs-20000703/gcc/gengenrtl.c:26:
../../egcs-20000703/gcc/rtl.h:1812:16: warning: integer overflow in preprocessor expression
../../egcs-20000703/gcc/gengenrtl.c:62:14: warning: integer overflow in preprocessor expression
../../egcs-20000703/gcc/gengenrtl.c:64:16: warning: integer overflow in preprocessor expression
../../egcs-20000703/gcc/gengenrtl.c:66:16: warning: integer overflow in preprocessor expression
../../egcs-20000703/gcc/gengenrtl.c:68:16: warning: integer overflow in preprocessor expression
../../egcs-20000703/gcc/gengenrtl.c:70:16: warning: integer overflow in preprocessor expression
In file included from ../../egcs-20000703/gcc/gengenrtl.c:86:
../../egcs-20000703/gcc/rtl.def:564: warning: missing initializer
../../egcs-20000703/gcc/rtl.def:564: warning: (near initialization for `defs[52].format')
stage2/xgcc -Bstage2/ -B/usr/local/hppa2.0-hp-hpux10.20/bin/ -DIN_GCC -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -O2 -g -O2 -DHAVE_CONFIG_H -o gengenrtl \
gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./gengenrtl -h >tmp-genrtl.h
/bin/sh: 17452 Memory fault(coredump)
make[2]: *** [s-genrtl] Error 139
make[2]: Leaving directory `/devel/span/rdb/src/egcs-20000703.obj/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/devel/span/rdb/src/egcs-20000703.obj/gcc'
make: *** [bootstrap-lean] Error 2
bash-2.02$ gdb ./gengenrtl
Wildebeest is free software and you are welcome to distribute copies of
it under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for Wildebeest; type "show warranty"
for details.
Hewlett-Packard Wildebeest 0.75.04 10-Sep-1998 17:34 (based on GDB 4.16)
(built for PA-RISC 1.1 or 2.0, HP-UX 10.20)
Copyright 1996, 1997 Free Software Foundation, Inc...
Breakpoint 1 at 0x5150
Breakpoint 2 (deferred) at "fancy_abort" ("fancy_abort" was not found).
Breakpoint deferred until a shared library containing "fancy_abort" is loaded.
Breakpoint 3 at 0x44c0
(gdb) r -h
Starting program: /devel/span/rdb/src/egcs-20000703.obj/gcc/./gengenrtl -h
warning: Unable to find __d_pid symbol in object file.
warning: Suggest linking with /opt/langtools/lib/end.o.
warning: GDB will be unable to track shl_load/shl_unload calls
Breakpoint 1 at 0x7af4bd5c
Breakpoint 3 at 0x7af42a78
/* Generated automatically by gengenrtl from rtl.def. */
extern rtx gen_rtx_fmt_ee PARAMS ((RTX_CODE, enum machine_mode mode,
rtx arg0, rtx arg1));
...
#define gen_rtx_RETURN(MODE) \
gen_rtx_fmt_ (RETURN, (MODE))
#define gen_rtx_TRAP_IF(MODE, ARG0, ARG1) \
gen_rtx_fmt_ee (TRAP_IF, (MODE), (ARG0), (ARG1))
#define gen_rtx_raw_CONST_INT(MODE, ARG0) \
gen_rtx_fmt_w (CONST_INT, (MODE), (ARG0))
Program received signal SIGSEGV, Segmentation fault.
0x4cc8 in genmacro (idx=52) at ../../egcs-20000703/gcc/gengenrtl.c:264
264 for (p = defs[idx].format, i = 0; *p != 0; p++)
(gdb) l
259 gen_rtx_fmt_FORMAT where FORMAT is the RTX_FORMAT of RTLCODE. */
260
261 printf ("#define gen_rtx_%s%s(MODE",
262 special_rtx (idx) ? "raw_" : "", defs[idx].enumname);
263
264 for (p = defs[idx].format, i = 0; *p != 0; p++)
265 if (*p != '0')
266 printf (", ARG%d", i++);
267
268 printf (") \\\n gen_rtx_fmt_%s (%s, (MODE)",
(gdb) p p
$1 = (char *) 0x0
(gdb) p idx
$2 = 52
(gdb) p defs[idx]
$3 = {enumname = 0x31fc "CONST_DOUBLE", name = 0x31ec "const_double",
format = 0x0}
(gdb) q
egcs-20000626.obj/gcc/genrtl.h
...
#define gen_rtx_raw_CONST_INT(MODE, ARG0) \
gen_rtx_fmt_w (CONST_INT, (MODE), (ARG0))
#define gen_rtx_raw_CONST_DOUBLE(MODE, ARG0, ARG1, ARG2, ARG3, ARG4, ARG5) \
gen_rtx_fmt_e0wwwww (CONST_DOUBLE, (MODE), (ARG0), (ARG1), (ARG2), (ARG3), (ARG4), (ARG5))
#define gen_rtx_CONST_STRING(MODE, ARG0) \
gen_rtx_fmt_s (CONST_STRING, (MODE), (ARG0))
It also seems to be related to this Unixware 7.1.0 build failure
stage2/xgcc -Bstage2/ -B/usr/local/i586-sco-sysv5uw7.1.0/bin/ -c -DIN_GCC -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -O2 -g -O2 -DHAVE_CONFIG_H -I. -I../../egcs-20000703/gcc -I../../egcs-20000703/gcc/config -I../../egcs-20000703/gcc/../include ../../egcs-20000703/gcc/rtl.c
In file included from ../../egcs-20000703/gcc/gansidecl.h:28,
from config.h:4,
from ../../egcs-20000703/gcc/rtl.c:23:
../../egcs-20000703/include/ansidecl.h:186:16: warning: integer overflow in preprocessor expression
../../egcs-20000703/include/ansidecl.h:192:17: warning: integer overflow in preprocessor expression
../../egcs-20000703/include/ansidecl.h:201:17: warning: integer overflow in preprocessor expression
../../egcs-20000703/include/ansidecl.h:228:15: warning: integer overflow in preprocessor expression
In file included from config.h:4,
from ../../egcs-20000703/gcc/rtl.c:23:
../../egcs-20000703/gcc/gansidecl.h:37:16: warning: integer overflow in preprocessor expression
In file included from ../../egcs-20000703/gcc/rtl.c:25:
../../egcs-20000703/gcc/rtl.h:1812:16: warning: integer overflow in preprocessor expression
In file included from ../../egcs-20000703/gcc/ggc.h:22,
from ../../egcs-20000703/gcc/rtl.c:28:
../../egcs-20000703/gcc/varray.h:175:43: warning: integer overflow in preprocessor expression
In file included from ../../egcs-20000703/gcc/rtl.c:30:
../../egcs-20000703/gcc/toplev.h:60:16: warning: integer overflow in preprocessor expression
../../egcs-20000703/gcc/rtl.c:74:14: warning: integer overflow in preprocessor expression
../../egcs-20000703/gcc/rtl.c:76:16: warning: integer overflow in preprocessor expression
../../egcs-20000703/gcc/rtl.c:78:16: warning: integer overflow in preprocessor expression
../../egcs-20000703/gcc/rtl.c:80:16: warning: integer overflow in preprocessor expression
../../egcs-20000703/gcc/rtl.c:82:16: warning: integer overflow in preprocessor expression
In file included from ../../egcs-20000703/gcc/rtl.c:223:
../../egcs-20000703/gcc/rtl.def:564: parse error before `,'
../../egcs-20000703/gcc/rtl.c: In function `read_rtx':
../../egcs-20000703/gcc/rtl.c:987: warning: implicit declaration of function `alloca'
make[2]: *** [rtl.o] Error 1
make[2]: Leaving directory `/devel/src/egcs-20000703.obj/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/devel/src/egcs-20000703.obj/gcc'
make: *** [bootstrap-lean] Error 2
egcs-20000703/gcc/rtl.def
560 Operand 1 ('0') is a chain of all CONST_DOUBLEs in use in the
561 current function.
562 Remaining operands hold the actual value. They are all 'w' and
563 there may be from 1 to 4; see rtl.c. */
564 DEF_RTL_EXPR(CONST_DOUBLE, "const_double", CONST_DOUBLE_FORMAT, 'o')
565
566 /* String constant. Used only for attributes right now. */
567 DEF_RTL_EXPR(CONST_STRING, "const_string", "s", 'o')
568
569 /* This is used to encapsulate an expression whose value is constant