public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC testresults from CVS version 980404
@ 1998-04-04 14:20 Andreas Jaeger
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Jaeger @ 1998-04-04 14:20 UTC (permalink / raw)
  To: egcs

I made a checkout around 8am GMT on 4th of April 1998 and compiled
egcs on i486 with Linux 2.1.92 headers, Linux 2.0.33 kernel, glibc 2.1 
snapshot, binutils 2.8.1.0.24.


                === gcc Summary ===

# of expected passes            6015
# of unexpected failures        2
# of expected failures          6
# of unsupported tests          8
/mnt/cc/egcs/build/gcc/xgcc version egcs-2.91.16 980328 (gcc-2.8.0 release)

I received the following errors:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Executing on host: /mnt/cc/egcs/build/gcc/xgcc -B/mnt/cc/egcs/build/gcc/ /mnt/cc/egcs/egcs-cvs/gcc/testsuite/gcc.dg/980226-1.c   -O2 -S  -o 980226-1.s   
compiler exited with status 1
output is:
xgcc: Internal compiler error: program cc1 got fatal signal 11

FAIL: gcc.dg/980226-1.c (test for excess errors)
Excess errors:
xgcc: Internal compiler error: program cc1 got fatal signal 11

Executing on host: /mnt/cc/egcs/build/gcc/xgcc -B/mnt/cc/egcs/build/gcc/ /mnt/cc/egcs/egcs-cvs/gcc/testsuite/gcc.dg/980312-1.c   -O2 -march=pentiumpro -S  -o 980312-1.s   
compiler exited with status 1
output is:
xgcc: Internal compiler error: program cc1 got fatal signal 6

FAIL: gcc.dg/980312-1.c (test for excess errors)
Excess errors:
xgcc: Internal compiler error: program cc1 got fatal signal 6

Executing on host: /mnt/cc/egcs/build/gcc/xgcc -B/mnt/cc/egcs/build/gcc/ /mnt/cc/egcs/egcs-cvs/gcc/testsuite/gcc.dg/980313-1.c   -O2 -march=pentiumpro -S  -o 980313-1.s   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I've checked the first failure with gdb and have appended the output.
I hope this is useful for somebody.

Andreas


(gdb) b exit
Breakpoint 1 at 0x8048e84
(gdb) r -B/mnt/cc/egcs/build/gcc/ /mnt/cc/egcs/egcs-cvs/gcc/testsuite/gcc.dg/980226-1.c   -O2 -S  -o 980226-1.s 
Breakpoint 1 at 0x40033b62: file exit.c, line 40.
xgcc: Internal compiler error: program cc1 got fatal signal 11

Breakpoint 1, exit (status=1) at exit.c:40
40        for (; __exit_funcs; __exit_funcs = __exit_funcs->next)
(gdb) bt
#0  exit (status=1) at exit.c:40
#1  0x8050bad in fatal () at ../../egcs-cvs/gcc/gcc.c:5014
#2  0x804b066 in execute () at ../../egcs-cvs/gcc/gcc.c:2236
#3  0x804d354 in do_spec_1 (
    spec=0x805da78 "cc1 %{!pipe:%g.i} %1 \t\t   %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t   %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi} \t\t   %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t   %{aux-info*}\t\t   %{pg:"..., 
    inswitch=0, soft_matched_part=0x0) at ../../egcs-cvs/gcc/gcc.c:3165
#4  0x804ed9f in handle_braces (
    p=0x805d8aa "!E:cc1 %{!pipe:%g.i} %1 \t\t   %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t   %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi} \t\t   %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t   %{aux-info*}\t\t   %{"...)
    at ../../egcs-cvs/gcc/gcc.c:4099
#5  0x804e619 in do_spec_1 (
    spec=0x805d8a8 "%{!E:cc1 %{!pipe:%g.i} %1 \t\t   %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t   %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi} \t\t   %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t   %{aux-info*}\t\t   "..., 
    inswitch=0, soft_matched_part=0x0) at ../../egcs-cvs/gcc/gcc.c:3769
#6  0x804ed9f in handle_braces (
    p=0x805d6d2 "!MM:%{!E:cc1 %{!pipe:%g.i} %1 \t\t   %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t   %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi} \t\t   %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t   %{aux-info*}\t"...)
    at ../../egcs-cvs/gcc/gcc.c:4099
#7  0x804e619 in do_spec_1 (
    spec=0x805d6d0 "%{!MM:%{!E:cc1 %{!pipe:%g.i} %1 \t\t   %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t   %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi} \t\t   %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t   %{aux-info*"..., 
    inswitch=0, soft_matched_part=0x0) at ../../egcs-cvs/gcc/gcc.c:3769
#8  0x804ed9f in handle_braces (
    p=0x805d38c "!M:%{!MM:%{!E:cc1 %{!pipe:%g.i} %1 \t\t   %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t   %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi} \t\t   %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t   %{aux-in"...)
    at ../../egcs-cvs/gcc/gcc.c:4099
#9  0x804e619 in do_spec_1 (
    spec=0x805d138 "cpp -lang-c%{ansi:89} %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\t%{C:%{!E:%eGNU C does not support -C without using -E}}\t%{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}        -undef -D__GNUC__=%v1 -"..., 
    inswitch=0, soft_matched_part=0x0) at ../../egcs-cvs/gcc/gcc.c:3769
#10 0x804d138 in do_spec (
    spec=0x805d138 "cpp -lang-c%{ansi:89} %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\t%{C:%{!E:%eGNU C does not support -C without using -E}}\t%{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}        -undef -D__GNUC__=%v1 -"...)
    at ../../egcs-cvs/gcc/gcc.c:3084
#11 0x80505b6 in main (argc=7, argv=0xbffffa78)
    at ../../egcs-cvs/gcc/gcc.c:4732
#12 0x4002ad06 in __libc_start_main (main=0x804f320 <main>, argc=7, 
    argv=0xbffffa78, init=0x8048c10 <_init>, fini=0x8052bd0 <_fini>, 
    rtld_fini=0x4000a580 <_dl_fini>) at ../sysdeps/generic/libc-start.c:72

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GCC testresults from CVS version 980404
@ 1998-04-06 17:35 Andreas Jaeger
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Jaeger @ 1998-04-06 17:35 UTC (permalink / raw)
  To: egcs mailing list; +Cc: Martin von Loewis

>>>>> Andreas Jaeger writes:

 > I received the following errors:
 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 > Executing on host: /mnt/cc/egcs/build/gcc/xgcc -B/mnt/cc/egcs/build/gcc/ /mnt/cc/egcs/egcs-cvs/gcc/testsuite/gcc.dg/980226-1.c   -O2 -S  -o 980226-1.s   
 > compiler exited with status 1
 > output is:
 > xgcc: Internal compiler error: program cc1 got fatal signal 11

Following an advise by Martin von Loewis I run cc1 in the debugger
(after rebuilding egcs with CVS version from 980406) on the cpp output:

(gdb) r  980226-1.i -quiet -dumpbase 980226-1.c -O2 -version -o 980226-1.s
Breakpoint 1 at 0x40032c26: file ../sysdeps/generic/abort.c, line 50.
GNU C version egcs-2.91.21 980404 (gcc2 ss-980401 experimental) (i486-pc-linux-gnu) compiled by GNU C version egcs-2.91.21 980404 (gcc2 ss-980401 experimental).

Program received signal SIGSEGV, Segmentation fault.
0x814cc4d in constrain_asm_operands (n_operands=0, operands=0xbffff300, 
    operand_constraints=0xbffff2e0, operand_matches=0xbffff1fc, 
    operand_class=0xbffff1fc) at ../../egcs-cvs/gcc/reg-stack.c:641
641       for (q = constraints[0]; *q; q++)
(gdb) bt
#0  0x814cc4d in constrain_asm_operands (n_operands=0, operands=0xbffff300, 
    operand_constraints=0xbffff2e0, operand_matches=0xbffff1fc, 
    operand_class=0xbffff1fc) at ../../egcs-cvs/gcc/reg-stack.c:641
#1  0x814d58e in record_asm_reg_life (insn=0x81b77e0, regstack=0xbffff358, 
    operands=0xbffff300, constraints=0xbffff2e0, n_inputs=0, n_outputs=0)
    at ../../egcs-cvs/gcc/reg-stack.c:922
#2  0x814dd68 in record_reg_life (insn=0x81b77e0, block=0, regstack=0xbffff358)
    at ../../egcs-cvs/gcc/reg-stack.c:1243
#3  0x814e1de in stack_reg_life_analysis (first=0x81b70f4, 
    stackentry=0xbffff470) at ../../egcs-cvs/gcc/reg-stack.c:1510
#4  0x814c9f9 in reg_to_stack (first=0x81b70f4, file=0x0)
    at ../../egcs-cvs/gcc/reg-stack.c:501
#5  0x8069dc9 in rest_of_compilation (decl=0x81c7a94)
    at ../../egcs-cvs/gcc/toplev.c:3564
#6  0x805911a in finish_function (nested=0) at ../../egcs-cvs/gcc/c-decl.c:7110
#7  0x804a1f7 in yyparse () at c-parse.y:354
#8  0x806882e in compile_file (name=0xbffffbea "980226-1.i")
    at ../../egcs-cvs/gcc/toplev.c:2544
#9  0x806b056 in main (argc=9, argv=0xbffffaa0, envp=0xbffffac8)
    at ../../egcs-cvs/gcc/toplev.c:4361
#10 0x4002ad06 in __libc_start_main (main=0x8069f90 <main>, argc=9, 
    argv=0xbffffaa0, init=0x8048f20 <_init>, fini=0x8174620 <_fini>, 
    rtld_fini=0x4000a580 <_dl_fini>) at ../sysdeps/generic/libc-start.c:72

The input file is just:
$ cat 980226-1.i 
# 1 "/mnt/cc/egcs/egcs-cvs/gcc/testsuite/gcc.dg/980226-1.c"
 
 

extern double bar (double);

int
baz (double d)
{
  double e = bar (d);
  asm volatile ("" : : : "st");
  return printf ("%lg\n", e);
}

I'm using a recent glibc 2.1 snapshot on i486, Linux 2.0.33 kernel,
2.1.92 header files.

Andreas
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-04-06 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-04 14:20 GCC testresults from CVS version 980404 Andreas Jaeger
1998-04-06 17:35 Andreas Jaeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).