[llvm-bugs] [Bug 28597] New: Inconsistent version ("-dumpversion" vs "--version")

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 18 06:57:24 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28597

            Bug ID: 28597
           Summary: Inconsistent version ("-dumpversion" vs "--version")
           Product: clang
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nikolai.kosjar at qt.io
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Compare:

~ % clang --version
clang version 3.8.0-2ubuntu3 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

~ % clang -dumpversion
4.2.1



GCC is consistent here:

~ % gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

~ % gcc -dumpversion
5.4.0

-- 
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/20160718/81024133/attachment.html>


More information about the llvm-bugs mailing list