SourceForge.net | 5 Sep 2008 01:43
Picon
Favicon

[ mingw-Bugs-2094008 ] internal compiler error

This list is used to send updates of submitted patches, bug reports and file releases.  You are discouraged
from posting to this list.  If you wish to unsubscribe you can do so at https://lists.sourceforge.net/lists/listinfo/mingw-notify.
Bugs item #2094008, was opened at 2008-09-04 23:38
Message generated for change (Settings changed) made by varkhan1
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2094008&group_id=2435

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: MinGW
Group: None
Status: Open
>Resolution: None
Priority: 5
Private: No
Submitted By: Varkhan1 (varkhan1)
Assigned to: Nobody/Anonymous (nobody)
Summary: internal compiler error

Initial Comment:
// any.c

register struct
{
    unsigned char foo;
    unsigned char bar;
} mystruct asm("esi");

int main(void)
{
    mystruct.bar=123;
    return 0;
}

K:\projects\c++\any>gcc any.c
any.c: In function `main':
any.c:11: error: unrecognizable insn:
(insn 24 23 28 0 (set (zero_extract:SI (subreg:SI (reg/v:HI 4 si [ mystruct ]) 0
)
            (const_int 8 [0x8])
            (const_int 8 [0x8]))
        (reg:SI 71)) -1 (nil)
    (expr_list:REG_DEAD (reg:SI 71)
        (nil)))
any.c:11: internal compiler error: in extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.

os: windows xp SP2

Build environment: cmd.exe

E:\Documents and Settings\Owner>gcc -v
Reading specs from E:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=
mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable
-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --e
nable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-ja
va-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchroniz
ation --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.2 (mingw-special)

E:\Documents and Settings\Owner>ld -v
GNU ld version 2.17.50 20060824

mingw version: 5.1.4 (from http://heanet.dl.sourceforge.net/sourceforge/mingw/MinGW-5.1.4.exe)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2094008&group_id=2435

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane