This is the mail archive of the gcc@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] | |
Bootstrapping fails with current CVS mainline for me:
./xgcc -B./ -B/opt/gcc/3.4-devel/x86_64-suse-linux-gnu/bin/ -isystem /opt/gcc/3.4-devel/x86_64-suse-linux-gnu/include -isystem /opt/gcc/3.4-devel/x86_64-suse-linux-gnu/sys-include -L/builds/gcc/testing/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/cvs/gcc/gcc -I/cvs/gcc/gcc/. -I/cvs/gcc/gcc/../include -DL_negdi2 -c /cvs/gcc/gcc/libgcc2.c -o libgcc/./_negdi2.o
/cvs/gcc/gcc/libgcc2.c: In function `__negti2':
/cvs/gcc/gcc/libgcc2.c:71: internal compiler error: in add_location_or_const_value_attribute, at dwarf2out.c:9460
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The bootstrap failure is caused by this patch:
+2003-11-20 Fariborz Jahanian <fjahanian@apple.com>
+ David Edelsohn <edelsohn@gnu.org>
+
+ * calls.c (expand_call): Allocate new temp in pass1.
+ (store_one_arg): If PARALLEL, calculate excess using mode size of
+ rtvec elt.
+ * expr.c (emit_push_insn): If PARALLEL, calculate offset using
+ mode size of rtvec elt.
+ * function.c (assign_parms): Use parm in register, if available.
Here're some details:
$ gdb ./cc1
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...
Breakpoint 1 at 0x50ad4d: file /cvs/gcc/gcc/diagnostic.c, line 584.
Breakpoint 2 at 0x401f78
Breakpoint 3 at 0x401db8
(gdb) r -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -mtune=k8 -auxbase-strip libgcc/./_negdi2.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -fPIC -o libgcc2.s
Starting program: /builds/gcc/testing/gcc/cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -mtune=k8 -auxbase-strip libgcc/./_negdi2.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -fPIC -o libgcc2.s
Breakpoint 2 at 0x2a9569fc30
Breakpoint 3 at 0x2a9569ed00
GNU C version 3.4 20031121 (experimental) (x86_64-suse-linux-gnu)
compiled by GNU C version 3.3.1 (SuSE Linux).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Breakpoint 1, fancy_abort (file=0x8ff850 "/cvs/gcc/gcc/dwarf2out.c", line=9460, function=0x904720 "add_location_or_const_value_attribute")
at /cvs/gcc/gcc/diagnostic.c:584
584 internal_error ("in %s, at %s:%d", function, trim_filename (file), line);
(gdb) bt
#0 fancy_abort (file=0x8ff850 "/cvs/gcc/gcc/dwarf2out.c", line=9460, function=0x904720 "add_location_or_const_value_attribute")
at /cvs/gcc/gcc/diagnostic.c:584
#1 0x0000000000523424 in add_location_or_const_value_attribute (die=0x2a95c30e60, decl=0x2a95c2b750) at /cvs/gcc/gcc/dwarf2out.c:9460
#2 0x0000000000524fce in gen_formal_parameter_die (node=0x2a95c2b750, context_die=0x2a95c30dc0) at /cvs/gcc/gcc/dwarf2out.c:10408
#3 0x0000000000529292 in gen_decl_die (decl=0x2a95c2b750, context_die=0x2a95c30dc0) at /cvs/gcc/gcc/dwarf2out.c:11914
#4 0x0000000000525f52 in gen_subprogram_die (decl=0x2a95c1e340, context_die=0x2a95945cd0) at /cvs/gcc/gcc/dwarf2out.c:10782
#5 0x0000000000528fcc in gen_decl_die (decl=0x2a95c1e340, context_die=0x2a95945cd0) at /cvs/gcc/gcc/dwarf2out.c:11842
#6 0x00000000005296ba in dwarf2out_decl (decl=0x2a95c1e340) at /cvs/gcc/gcc/dwarf2out.c:12076
#7 0x00000000007d5ad9 in rest_of_compilation (decl=0x2a95c1e340) at /cvs/gcc/gcc/toplev.c:3572
#8 0x000000000084796b in tree_rest_of_compilation (fndecl=0x2a95c1e340, nested_p=false) at /cvs/gcc/gcc/tree-optimize.c:168
#9 0x000000000043143b in c_expand_body_1 (fndecl=0x2a95c1e340, nested_p=0) at /cvs/gcc/gcc/c-decl.c:6160
#10 0x0000000000431660 in c_expand_body (fndecl=0x2a95c1e340) at /cvs/gcc/gcc/c-decl.c:6190
#11 0x000000000084a59a in cgraph_expand_function (node=0x2a95a96e00) at /cvs/gcc/gcc/cgraphunit.c:497
#12 0x000000000084c6f1 in cgraph_expand_all_functions () at /cvs/gcc/gcc/cgraphunit.c:1317
#13 0x000000000084c8fc in cgraph_optimize () at /cvs/gcc/gcc/cgraphunit.c:1381
#14 0x000000000048e39c in c_objc_common_finish_file () at /cvs/gcc/gcc/c-objc-common.c:244
#15 0x000000000040dd3d in finish_file () at /cvs/gcc/gcc/c-lang.c:185
#16 0x000000000047f714 in c_common_parse_file (set_yydebug=0) at /cvs/gcc/gcc/c-opts.c:1233
#17 0x00000000007d2a26 in compile_file () at /cvs/gcc/gcc/toplev.c:1818
#18 0x00000000007d76fe in do_compile () at /cvs/gcc/gcc/toplev.c:4602
#19 0x00000000007d7796 in toplev_main (argc=20, argv=0x7fbfffef78) at /cvs/gcc/gcc/toplev.c:4642
#20 0x00000000004a770b in main (argc=20, argv=0x7fbfffef78) at /cvs/gcc/gcc/main.c:35
(gdb) p rtl
$1 = 0x2a95abeb90
(gdb) p *rtl
$2 = {code = PARALLEL, mode = TImode, jump = 0, call = 0, unchanging = 0, volatil = 0, in_struct = 0, used = 0, integrated = 0, frame_related = 0, u = {
fld = {{rtint = -1782386560, rtuint = 2512580736, rtstr = 0x2a95c2f080 "\002", rtx = 0x2a95c2f080, rtvec = 0x2a95c2f080, rttype = 2512580736,
rt_addr_diff_vec_flags = {min_align = 128, base_after_vec = 0, min_after_vec = 0, max_after_vec = 0, min_after_base = 0, max_after_base = 1,
offset_unsigned = 1, scale = 194}, rt_cselib = 0x2a95c2f080, rtbit = 0x2a95c2f080, rttree = 0x2a95c2f080, bb = 0x2a95c2f080,
rtmem = 0x2a95c2f080, rtreg = 0x2a95c2f080}}, hwint = {182901207168}}}
PARALLELs are not handled in add_location_or_const_value_attribute,
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |