https://bugs.llvm.org/show_bug.cgi?id=49870
Bug ID: 49870
Summary: rG31d219d2997f hangs when compiling the Linux kernel
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Created attachment 24725
--> https://bugs.llvm.org/attachment.cgi?id=24725&action=edit
Preprocessed x86-stub.c
After commit 31d219d2997fed1b7dc97e0adf170d5aaf65883e, Clang hangs when
compiling the Linux kernel, specifically the file
drivers/firmware/efi/libstub/x86-stub.c:
https://reviews.llvm.org/rG31d219d2997fed1b7dc97e0adf170d5aaf65883e
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/firmware/efi/libstub/x86-stub.c
I've attached the preprocessed source file, and you can reproduce the issue by
running:
$ clang -nostdinc -m64 -fPIC -fno-strict-aliasing -mno-red-zone -mno-mmx
-mno-sse -fshort-wchar -Wno-pointer-sign -Wno-address-of-packed-member -Wno-gnu
-fno-asynchronous-unwind-tables -Os -ffreestanding -fno-stack-protector
-fno-addrsig -c x86-stub.c
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs