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

            Bug ID: 22489
           Summary: clang 3.6: sparc-linux floating point options do not
                    work
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

The file clang/test/Driver/sparc-float.c tests 6 combinations of sparc-linux
floating point options.

These options do not work when using them for compilation, though:

$ echo 'int x = 1;' > test.c

$ clang-3.6.0rc2 -target sparc-linux-gnu -c test.c
clang: warning: unknown platform, assuming -mfloat-abi=soft
'+soft-float' is not a recognized feature for this target (ignoring feature)
'+soft-float' is not a recognized feature for this target (ignoring feature)

$ clang-3.6.0rc2 -target sparc-linux-gnu -mhard-float -c test.c
error: unknown argument: '-mhard-float'

$ clang-3.6.0rc2 -target sparc-linux-gnu -msoft-float -c test.c
'+soft-float' is not a recognized feature for this target (ignoring feature)
'+soft-float' is not a recognized feature for this target (ignoring feature)

$ clang-3.6.0rc2 -target sparc64-linux-gnu -c test.c
clang: warning: unknown platform, assuming -mfloat-abi=soft
'+soft-float' is not a recognized feature for this target (ignoring feature)
'+soft-float' is not a recognized feature for this target (ignoring feature)

$ clang-3.6.0rc2 -target sparc64-linux-gnu -mhard-float -c test.c
error: unknown argument: '-mhard-float'

$ clang-3.6.0rc2 -target sparc64-linux-gnu -msoft-float -c test.c
'+soft-float' is not a recognized feature for this target (ignoring feature)
'+soft-float' is not a recognized feature for this target (ignoring feature)

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