Fix a bad interaction of inliner x return slot optimization x named value optimization master
authorJim Huang <jserv@0xlab.org>
Mon, 15 Nov 2010 16:10:38 +0000 (00:10 +0800)
committerJim Huang <jserv@0xlab.org>
Mon, 15 Nov 2010 16:10:38 +0000 (00:10 +0800)
commit85e79525c168c846bf017e11bf09ffe0684c4232
tree1cf0dcac896b4727da1292e1adda3efc9c5eeb09
parent10d4a2c827bac038a9be51e4092a39b221d5ef8e
Fix a bad interaction of inliner x return slot optimization x named value optimization

From b6b198cac722a8dcaa046f0589fe2c2c7caa6a01 Mon Sep 17 00:00:00 2001
From: Jing Yu <jingyu@google.com>
Date: Thu, 4 Nov 2010 17:50:54 -0700
Subject: [PATCH] Backport upstream 4.6 patches to fix 2 gcc bugs.

Fix a bad interaction of inliner x return slot optimization x
named value optimization

Replace tst instruction with lsls for a single bit test
gcc-4.4.4/README.google
gcc-4.4.4/gcc/config/arm/thumb2.md
gcc-4.4.4/gcc/tree-inline.c