This is the mail archive of the gcc-bugs@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]

[Bug c/44831] New: internal compiler error: verify_stmts failed when compiling wine


Howdy,

This is a regression in gcc, but I haven't yet bisected it. Hopefully there is
enough information to fix it without bisecting.

gcc version used:
austin@midna:~/wine-git/dlls/netapi32$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure : (reconfigured) ./configure : (reconfigured)
./configure
Thread model: posix
gcc version 4.6.0 20100705 (experimental) (GCC) 

when compiling wine, it fails with:
austin@midna:~/wine-git/dlls/netapi32$ make
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_SVRAPI_
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings
-Wpointer-arith  -g -O2  -o nbcmdqueue.o nbcmdqueue.c
nbcmdqueue.c: In function ?NBCmdQueueFindNBC?:
nbcmdqueue.c:92:14: error: Incompatible types in PHI argument 1
struct _NCB *

UCHAR

D.10020_19 = PHI <D.10021_22(3), D.10022_23(4)>

nbcmdqueue.c:92:14: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [nbcmdqueue.o] Error 1

system is ubuntu lucid, uname -a:
Linux midna 2.6.31-11-rt #154-Ubuntu SMP PREEMPT RT Wed Jun 9 13:40:34 UTC 2010
x86_64 GNU/Linux

expected behavior: wine compiles
actual behavior: internal compiler error

I'll attach the output of gcc -v -save-temps as well as the preprocessed
source.


-- 
           Summary: internal compiler error: verify_stmts failed when
                    compiling wine
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: austinenglish at gmail dot com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]