[cfe-dev] [RFC][ARM] -Oz implies -mthumb

Tim Northover via cfe-dev cfe-dev at lists.llvm.org
Thu Nov 15 04:14:51 PST 2018


Hi Sjoerd,

On Thu, 15 Nov 2018 at 11:49, Sjoerd Meijer via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> does not really give minimum code size because -mthumb is not enabled. This looks like a sub-optimal user experience to me, and also, it is inconsistent with GCC's behaviour.

Which version? None of the GCCs on Godbolt exhibit the kind of
switching you're describing as far as I can tell.

Cheers.

Tim.



More information about the cfe-dev mailing list