http://llvm.org/bugs/show_bug.cgi?id=8639
Summary: Should be more conservative while issuing an unused
argument warning
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The simplest testcase coming from MPlayer build system:
[~]> clang -march=core2 -march=core2 -c test.c
clang: warning: argument unused during compilation: '-march=core2'
There is no need to warn about unused argument here since the arguments are
duplicates. espindola fixed a similar case with optimization flags in r119498
but we need a more generic way of handling this.
--
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