https://llvm.org/bugs/show_bug.cgi?id=27376
Bug ID: 27376
Summary: LLVM 3.8/trunk LTO no longer supports -Os flag?
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Does LTO no longer support -Os? This commit added a range check on the -O<n>
value, and rejects the -Os flag:
commit 416d8ecf80eafaefecc8e934930a2285a66a93d8
Author: Peter Collingbourne <[email protected]>
Date: Thu Mar 19 22:01:00 2015 +0000
libLTO, llvm-lto, gold: Introduce flag for controlling optimization level.
This change also introduces a link-time optimization level of 1. This
optimization level runs only the globaldce pass as well as cleanup passes
for
passes that run at -O0, specifically simplifycfg which cleans up
lowerbitsets.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150316/266951.html
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232769
91177308-0d34-0410-b5e6-96231b3b80d8
It results in this error at link time:
/usr/bin/ld: error: Optimization level must be between 0 and 3
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs