[LLVMbugs] [Bug 16291] New: clang 3.1 doesn't support -frecord-gcc-switches

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 10 09:51:03 PDT 2013


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

            Bug ID: 16291
           Summary: clang 3.1 doesn't support -frecord-gcc-switches
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: zerochaos at gentoo.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

In gentoo we use -frecord-gcc-switches to enable a QA check to ensure CFLAGS et
al are being respected.  When I test with CC=clang CXX=clang++ it causes me to
get a warning that my CFLAGS are being ignored.

I get the following during compilation which seems to indicate it isn't
supported:

clang: clang: warning: warning: argument unused during compilation:
'-frecord-gcc-switches'
argument unused during compilation: '-frecord-gcc-switches'


I'm not sure how hard this is to implement, but is is a very useful 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/20130610/86eb1872/attachment.html>


More information about the llvm-bugs mailing list