http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56952

--- Comment #2 from gee <jojelino at gmail dot com> 2013-04-14 09:11:40 UTC ---
$ gdb --args /tmp/gcc/host-i686-pc-cygwin/gcc/cc1.exe -fpreprocessed
gthr-win32.i -quiet -dumpbase gthr-win32.c -mtune=generic -march=pentiumpro
-auxbase-strip gthr-win32.o -g -g -g -O2 -O2 -Wextra -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -version -fbuilding-libgcc -fno-stack-protector -o
gthr-win32.s
GNU gdb (GDB) 7.6.50.20130408-cvs (cygwin-special)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-cygwin".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...

warning: the current range check setting does not match the language.

Whether backtraces should continue past the entry point of a program is off.
Reading symbols from /tmp/gcc/host-i686-pc-cygwin/gcc/cc1.exe...r
done.
(gdb) r
Starting program: /tmp/gcc/host-i686-pc-cygwin/gcc/cc1.exe -fpreprocessed
gthr-win32.i -quiet -dumpbase gthr-win32.c -mtune=generic -march=pentiumpro
-auxbase-strip gthr-win32.o -g -g -g -O2 -O2 -Wextra -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -version -fbuilding-libgcc -fno-stack-protector -o
gthr-win32.s
[New Thread 12136.0x2900]
[New Thread 12136.0x18d8]
GNU C (GCC) version 4.9.0 20130414 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.9.0 20130331 (experimental), GMP version
5.0.2, MPFR version 3.2.0-dev, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.9.0 20130414 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.9.0 20130331 (experimental), GMP version
5.0.2, MPFR version 3.2.0-dev, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 02065f7f4784d3d4fe06ce1367165da5
../.././libgcc/config/i386/gthr-win32.c: In function ‘__gthr_win32_once’:
../.././libgcc/config/i386/gthr-win32.c:94:1: error: unrecognizable insn:
 }
 ^
(insn 52 51 53 12 (set (reg:SI 76)
        (symbol_ref:SI ("Sleep@4") [flags 0x441] <function_decl 0x7fa54300
Sleep>)) ../.././libgcc/config/i386/gthr-win32.c:90 -1
     (nil))
../.././libgcc/config/i386/gthr-win32.c:94:1: internal compiler error: in
extract_insn, at recog.c:2150

Program received signal SIGABRT, Aborted.
0x05e0da30 in ?? ()
(gdb) bt
#0  0x05e0da30 in ?? ()
#1  0x7c821ca5 in WaitForSingleObject ()
   from /cygdrive/c/WINDOWS/system32/kernel32.dll
#2  0x610dd578 in sig_send (p=<optimized out>, si=..., tls=0x5e0a050)
    at /netrel/src/cygwin-snapshot-20130409-1/winsup/cygwin/sigproc.cc:682
#3  0x610da7e3 in _pinfo::kill (this=0x60fd0000, si=...)
    at /netrel/src/cygwin-snapshot-20130409-1/winsup/cygwin/signal.cc:248
#4  0x610dace8 in kill0 (si=..., pid=0x2f68)
    at /netrel/src/cygwin-snapshot-20130409-1/winsup/cygwin/signal.cc:299
#5  kill (pid=0x2f68, sig=0x6)
    at /netrel/src/cygwin-snapshot-20130409-1/winsup/cygwin/signal.cc:308
#6  0x610dae7c in raise (sig=0x6)
    at /netrel/src/cygwin-snapshot-20130409-1/winsup/cygwin/signal.cc:284
#7  0x610db0f3 in abort ()
    at /netrel/src/cygwin-snapshot-20130409-1/winsup/cygwin/signal.cc:371
#8  0x00fa1994 in uw_init_context_1 (context=context@entry=0x5e0a470,
    outer_cfa=outer_cfa@entry=0x5e0a5d0, outer_ra=0xf7b23a <backtrace_full+74>)
    at ../.././libgcc/unwind-dw2.c:1502
#9  0x00fa2062 in _Unwind_Backtrace (trace=0xf7b170 <unwind>,
    trace_argument=0x5e0a5e8) at ../.././libgcc/unwind.inc:283
#10 0x00f7b23a in backtrace_full ()
#11 0x00f3245b in diagnostic_action_after_output (
    context=0x15655a0 <global_diagnostic_context>, diagnostic=0x5e0a6c4)
---Type <return> to continue, or q <return> to quit---
    at ../.././gcc/diagnostic.c:463
#12 0x00f332b6 in diagnostic_report_diagnostic (
    context=0x15655a0 <global_diagnostic_context>, diagnostic=0x5e0a6c4)
    at ../.././gcc/diagnostic.c:791
#13 0x00f33a07 in internal_error (
    gmsgid=0x127143f <init_param_values(int*)::__FUNCTION__+1507> "in %s, at
%s:%d") at ../.././gcc/diagnostic.c:1123
#14 0x00f33af3 in fancy_abort (
    file=0x10d3433 <peephole2_1(rtx_def*, rtx_def*, int*)::__FUNCTION__+82>
"../.././gcc/recog.c", line=0x866,
    function=0x10d39c7 <extract_insn(rtx_def*)::__FUNCTION__> "extract_insn")
    at ../.././gcc/diagnostic.c:1177
#15 0x00b317b1 in _fatal_insn (
    msgid=0x112f97f <cse_condition_code_reg()::__FUNCTION__+26> "unrecognizable
insn:", insn=0x7e7b5a50,
    file=0x10d3433 <peephole2_1(rtx_def*, rtx_def*, int*)::__FUNCTION__+82>
"../.././gcc/recog.c", line=0x866,
    function=0x10d39c7 <extract_insn(rtx_def*)::__FUNCTION__> "extract_insn")
    at ../.././gcc/rtl-error.c:109
#16 0x00b317e9 in _fatal_insn_not_found (insn=0x7e7b5a50,
    file=0x10d3433 <peephole2_1(rtx_def*, rtx_def*, int*)::__FUNCTION__+82>
"../.././gcc/recog.c", line=0x866,
    function=0x10d39c7 <extract_insn(rtx_def*)::__FUNCTION__> "extract_insn")
---Type <return> to continue, or q <return> to quit---
    at ../.././gcc/rtl-error.c:117
#17 0x009b99eb in extract_insn (insn=0x7e7b5a50) at ../.././gcc/recog.c:2150
#18 0x00593e17 in instantiate_virtual_regs_in_insn (insn=0x7e7b5a50)
    at ../.././gcc/function.c:1561
#19 0x005950c3 in instantiate_virtual_regs () at ../.././gcc/function.c:1926
#20 0x006e7ef1 in execute_one_pass (
    pass=0x102e640 <pass_instantiate_virtual_regs>)
    at ../.././gcc/passes.c:2331
#21 0x006e80ec in execute_pass_list (
    pass=0x102e640 <pass_instantiate_virtual_regs>)
    at ../.././gcc/passes.c:2383
#22 0x006e8118 in execute_pass_list (pass=0x10305c0 <pass_rest_of_compilation>)
    at ../.././gcc/passes.c:2384
#23 0x006ee2cf in expand_function (node=0x7e989d70)
    at ../.././gcc/cgraphunit.c:1640
#24 0x006ee810 in expand_all_functions () at ../.././gcc/cgraphunit.c:1744
#25 0x006ef27b in compile () at ../.././gcc/cgraphunit.c:2042
#26 0x006ef3f2 in finalize_compilation_unit () at ../.././gcc/cgraphunit.c:2119
#27 0x00423eaf in c_write_global_declarations ()
    at ../.././gcc/c/c-decl.c:10118
#28 0x0077515b in compile_file () at ../.././gcc/toplev.c:557
#29 0x00776f45 in do_compile () at ../.././gcc/toplev.c:1864
#30 0x007770cc in toplev_main (argc=0x1c, argv=0x5e0aac0)
---Type <return> to continue, or q <return> to quit---
    at ../.././gcc/toplev.c:1940
#31 0x00f1edfc in main (argc=0x1c, argv=0x5e0aac0) at ../.././gcc/main.c:36
#32 0x610078d1 in _cygwin_exit_return ()
    at /netrel/src/cygwin-snapshot-20130409-1/winsup/cygwin/dcrt0.cc:1018
#33 0x610053ed in _cygtls::call2 (this=<optimized out>,
    func=0x61006dc0 <dll_crt0_1(void*)>, arg=0x0,
    buf=0x6100558b <_cygtls::call(unsigned long (*)(void*, void*), void*)+91>)
    at /netrel/src/cygwin-snapshot-20130409-1/winsup/cygwin/cygtls.cc:99
#34 0x05e0ff78 in ?? ()
#35 0x00fa3ab2 in cygwin_crt0 (f=0xf1eddc <main(int, char**)>)
    at /usr/src/debug/cygwin-1.7.17-1/winsup/cygwin/lib/cygwin_crt0.c:22
#36 0x00401015 in mainCRTStartup ()
    at /usr/src/debug/cygwin-1.7.17-1/winsup/cygwin/crt0.c:29
(gdb)
(gdb)

Reply via email to