Re: c++0x tuple vs. pair

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

 



Miles Bader <miles@xxxxxxx> 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.

The tuple support relies on very new code in the C++ frontend, for
variadic templates, so it's not surprising that there are some problems.
The std::pair class is just a struct with two elements.

Ian


[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