[Development] Meeting minutes from Qt Release Team meeting 05.09.2017
Thiago Macieira
thiago.macieira at intel.com
Tue Sep 19 18:19:01 CEST 2017
On Tuesday, 19 September 2017 09:08:50 PDT Thiago Macieira wrote:
> On Tuesday, 19 September 2017 08:21:28 PDT Oswald Buddenhagen wrote:
> > On Tue, Sep 19, 2017 at 07:49:58AM -0700, Thiago Macieira wrote:
> > > Q_ALWAYS_INLINE, however, has no bearing in ABI. It's a purely
> > > optimisation
> > > feature and can be added or removed at will.
> >
> > would you bet on that? are you _sure_ it does not affect the emission of
> > out-of-line copies, on any compiler we support?
>
> Yes. Out of line copies are still emitted by MSVC, even under always-inline.
>
> Q_ALWAYS_INLINE is not a get-out-of-jail for ABI guarantees. It's an
> optimisation hint.
Proof: https://godbolt.org/g/i3EVb3
Note how the S::f() (?f at S@@QEAAXXZ) function is present in the assembly
output.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list