set_src_cost says it is supposed to
/* Return the cost of moving X into a register, relative to the cost
of a register move. SPEED_P is true if optimizing for speed rather
than size. */
Now, set_src_cost of a register move (set (reg1) (reg2)), is zero.
Why? Well, set_src_cost is used just
Snapshot gcc-6-20150621 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/6-20150621/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 6 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision
On 21 June 2015 at 19:16, Julian Klappenbach wrote:
> The issue occurred to me after I sent the email.
>
> begin() / end() return iterators by value, not reference.
>
> So, you're correct in identifying the value / reference issue. But to
> be precise: you can't return an abstract class type *by
The issue occurred to me after I sent the email.
begin() / end() return iterators by value, not reference.
So, you're correct in identifying the value / reference issue. But to
be precise: you can't return an abstract class type *by value* from a
function. If the return values of begin() / end
On 21 June 2015 at 16:56, Julian Klappenbach wrote:
> Version info:
>
> Configured with:
> --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/usr/include/c++/4.2.1
> Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
> Target: x86_64-apple-darwin14.3.0
Version info:
Configured with:
--prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
I'm using the default build provided by bre