[LLVMbugs] [Bug 6433] New: Assertion failed: (Ty.isCanonical() && "should always have a canonical type here")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 26 07:55:30 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=6433

           Summary: Assertion failed: (Ty.isCanonical() && "should always
                    have a canonical type here")
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: hinokind at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4319)
 --> (http://llvm.org/bugs/attachment.cgi?id=4319)
testcase

$ cat assert9.c 
typedef double gdouble;
void focus_changed_cb () {
    __builtin_va_list pa;
    double mfloat;
    mfloat = __builtin_va_arg((pa), gdouble);
}

$ clang assert9.c 
Assertion failed: (Ty.isCanonical() && "should always have a canonical type
here"), function getCoerceResult, file TargetInfo.cpp, line 975.
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name assert9.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir /usr/local/lib/clang/1.1
-fmessage-length 157 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-pjQpzp.s -x c assert9.c 
1.    <eof> parser at end of file
2.    assert9.c:2:6: LLVM IR generation of declaration 'focus_changed_cb'
3.    assert9.c:2:6: Generating code for declaration 'focus_changed_cb'
4.    assert9.c:2:26: LLVM IR generation of compound statement ('{}')
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)


$ clang --version
clang version 1.1 (trunk 97224)
Target: x86_64-unknown-freebsd8.0
Thread model: posix

-- 
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