https://bugs.llvm.org/show_bug.cgi?id=52008
Bug ID: 52008
Summary: 13.0.0-rc3: LTO exposes 550 new warnings
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: kloczko.tom...@gmail.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
neeil...@live.com, richard-l...@metafoo.co.uk
Created attachment 25304
--> https://bugs.llvm.org/attachment.cgi?id=25304&action=edit
clang warnings with LTO
gcc 11.2.1
Looks like no one have been trying to compile clang using gcc and optimise it
using LTO. Just done that and LTO reported 550 [-Wmaybe-uninitialized] warnings
Summary stats of all warnings:
[tkloczko@barrel SPECS]$ cat clang.out | grep -- -W | sed 's/.*\[//; s/\]//' |
sort | uniq -c | sort -nr
550 -Wmaybe-uninitialized
13 -Wuninitialized
3 -Wfree-nonheap-object
1 -Walloc-size-larger-than=
Full log of all warnings is in attachment.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs