Re: c++0x tuple vs. pair

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ian Lance Taylor <iant@xxxxxxxxxx> writes:
>>    tuple_test(std::tuple<A> const&):
>>            movq	(%rdi), %rax
>>            movq	(%rax), %rax
>>            jmp	*%rax
>
> This is pretty hard to justify.  Please consider filing a
> missed-optimization bug report.  Thanks.

Ok, I filed a bug.

Strangely, when I tried this test again today (same compiler version and
options, different machine), the final "extern_tuple_test" function,
which did get correctly optimized to a direct jump yesterday, resulted
in an indirect call today !  So something seems weird...

Thanks,

-Miles

-- 
"1971 pickup truck; will trade for guns"


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux