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

           Summary: 2008-07-29-EHLabel.ll is non-portable
           Product: Test Suite
           Version: trunk
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DejaGNU
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Running as isn't strictly portable to systems that default to x86-64 codegen.

  test/CodeGen/Generic/2008-07-29-EHLabel.ll

is the only testcase that appears to do this.  I get:

FAIL:
/Volumes/mrs5/net/clang/clang/clang/test/CodeGen/Generic/2008-07-29-EHLabel.ll
for PR2609

Doing diffs in test:
--- test/CodeGen/Generic/2008-07-29-EHLabel.ll.~1~      2009-01-02
11:47:41.000000000 -0800
+++ test/CodeGen/Generic/2008-07-29-EHLabel.ll  2009-01-20 11:59:27.000000000
-0800
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -o - | as -o /dev/null
+; RUN: llvm-as < %s | llc -o - | as -arch i386 -o /dev/null
 ; PR2609
        %struct..0._11 = type { i32 }
        %struct..1__pthread_mutex_s = type { i32, i32, i32, i32, i32,
%struct..0._11 }
--------------

fixes it for me, but -arch i386 might not be as portable as I'd hope.  Can
someone try that on linux say, and if it works there, we can drive it that way,
otherwise, we need to call a driver with more beef.


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to