[LLVMbugs] [Bug 2136] New: x86_64 make check: 2008-02-13-sret.cpp fails

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Mar 9 14:44:32 PDT 2008


           Summary: x86_64 make check: 2008-02-13-sret.cpp fails
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1516)
 --> (http://llvm.org/bugs/attachment.cgi?id=1516)
/usr/local/bin/llvm-gcc -emit-llvm -S -O0 -emit-llvm
/home/edwin/llvm-svn/llvm/test/C++Frontend/2008-02-13-sret.cpp -o

[Maybe this is known already, but I couldn't find any open bugs using
bugzilla's search.]

I get this with r48120 on x86-64/Linux (everything OK on x86 Linux):

XPASS: /home/edwin/llvm-svn/llvm/test/C++Frontend/2006-11-06-StackTrace.cpp
FAIL: /home/edwin/llvm-svn/llvm/test/C++Frontend/2008-02-13-sret.cpp
Failed with exit(1) at line 1
while running: /usr/local/bin/llvm-gcc -emit-llvm -S -O0 -emit-llvm
/home/edwin/llvm-svn/llvm/test/C++Frontend/2008-02-13-sret.cpp -o - | grep
{retval\|memtmp} | grep S242 |  grep {i32 1} | count 1
count: expected 1 lines and got 0.
child process exited abnormally

And this fails but that is already known:
FAIL: /home/edwin/llvm-svn/llvm/test/CFrontend/2008-01-25-ByValReadNone.c

# of expected passes            2435
# of unexpected failures        2
# of unexpected successes       1
# of expected failures          5

$ usr/local/bin/llvm-gcc -emit-llvm -S -O0 -emit-llvm
/home/edwin/llvm-svn/llvm/test/C++Frontend/2008-02-13-sret.cpp -o -|grep -E
        %retval = alloca %struct.S92, align 4           ; <%struct.S92*>
        %tmp14 = getelementptr %struct.S92* %retval, i32 0, i32 0              
; <i16*> [#uses=1]
        %retval17 = bitcast %struct.S92* %retval to i32*                ;
<i32*> [#uses=1]
        %retval18 = load i32* %retval17         ; <i32> [#uses=1]
        ret i32 %retval18
        %retval = alloca %struct.S93            ; <%struct.S93*> [#uses=2]
        %tmp8 = getelementptr %struct.S93* %retval, i32 0, i32 0               
; <i8**> [#uses=1]
        %retval11 = bitcast %struct.S93* %retval to i8**                ;
<i8**> [#uses=1]
        %retval12 = load i8** %retval11         ; <i8*> [#uses=1]
        ret i8* %retval12

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