[LLVMbugs] [Bug 22489] New: clang 3.6: sparc-linux floating point options do not work

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 6 03:20:16 PST 2015


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: unassignedclangbugs at nondot.org
          Reporter: markus at oberhumer.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150206/1453a55c/attachment.html>


More information about the llvm-bugs mailing list