[LLVMbugs] [Bug 6751] New: bug in release 2.7

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 31 07:10:20 PDT 2010


           Summary: bug in release 2.7
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: forumer at smartmobili.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=4619)
 --> (http://llvm.org/bugs/attachment.cgi?id=4619)
Preprocessed file


I am testing the upcoming 2.7 release on mingw and I have already reported this
bug on mailing list but with no success, so I am opening a new bug here.
I am trying to compile GNUstep-Gui with clang and I get an assert in 
I have attached the preprocessed file (gcc -save-temps) to reproduce.
If you need more information, please let me know.
I have also compiled clang with Visual Studio just to be sure and I have the
same error.

clang version 1.1 (branches/release_27 99950)
Target: i686-pc-mingw32
Thread model: posix
 "C:/Developer/Mingw-NG/home/Vincent/llvm-2.7/Release/bin/clang.exe" -cc1
-triple i686-pc-mingw32 -S -disable-free -main-file-name Functions.m
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -v -g
-dependency-file obj/libgnustep-gui.obj/Functions.m.d -MT
obj/libgnustep-gui.obj/Functions.m.o -MP -DGNUSTEP_TARGET_DIR="."
-DGSWARN -DGSDIAGNOSE -I../Headers/Additions -I../Headers -I./. -I.
-IC:/Developer/Mingw-NG/GNUstep/System/Library/Headers -O2 -Wall
-Wno-import -Wall -fconstant-string-class NSConstantString -fmessage-length
0 -fgnu-runtime -fdiagnostics-show-option -o
C:/DOCUME~1/Vincent/LOCALS~1/Temp/cc-000000.s -x objective-c Functions.m
clang -cc1 version 1.1 based upon llvm 2.7 hosted on i686-pc-mingw32
ignoring nonexistent directory
ignoring nonexistent directory
ignoring nonexistent directory "c:/mingw/include"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/include"
ignoring duplicate directory "./."
#include "..." search starts here:
#include <...> search starts here:

End of search list.

This application has requested the Runtime to terminate it in an unusual
Please contact the application's support team for more information.
Assertation failed!

Program: C:\Developer\Mingw-NG\home\Vincent\llvm-2.7\Release\bin\clang.exe
File: X86ISelLowering.cpp, Line 2152

Expression: ((Callee.getOpcode() == ISD::Register &&
(cast<RegisterSDNode>(Callee)->getReg() == X86::EAX ||
cast<RegisterSDNode>(Callee)->getReg() == X86::R11)) || Callee.getOpcode()
== ISD::TargetExternalSymbol || Callee.getOpcode() ==
ISD::TargetGlobalAddress) && "Expec
clang: error: compiler command failed with exit code 3 (use -v to see

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list