[llvm-bugs] [Bug 27376] New: LLVM 3.8/trunk LTO no longer supports -Os flag?
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Apr 15 11:37:36 PDT 2016
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: unassignedbugs at nondot.org
Reporter: steven at uplinklabs.net
CC: llvm-bugs at lists.llvm.org
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 <peter at pcc.me.uk>
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160415/0b79fe78/attachment.html>
More information about the llvm-bugs
mailing list