]> code.ossystems Code Review - openembedded-core.git/commit
gcc-4.9: backport from gcc trunk r212178
authorStefan Müller-Klieser <s.mueller-klieser@phytec.de>
Tue, 21 Apr 2015 08:23:47 +0000 (10:23 +0200)
committerJoshua Lock <joshua.lock@collabora.co.uk>
Fri, 18 Dec 2015 12:54:36 +0000 (12:54 +0000)
commit91a001fc74dd13ea9e5249aa624ad360ce807349
treecec7bab9a1f0851c0465f29fa291f7e18de48359
parent17b3112a3d6fc4c777429f8b5965206889c55cc3
gcc-4.9: backport from gcc trunk r212178

When compiling meta-toolchain-qt5 on cortexa8, the compiler throws an
internal compiler error:

...
qttools-opensource-src-5.3.2/src/linguist/shared/po.cpp:
In function 'bool loadPO(Translator&, QIODevice&, ConversionData&)':
qttools-opensource-src-5.3.2/src/linguist/shared/po.cpp:717:1:
internal compiler error: in add_stores, at var-tracking.c:6000
...

Tracking this down led to https://bugs.linaro.org/show_bug.cgi?id=534
It seems the bug is well know and fixed upstream. So backporting from
trunk seems to be the right solution. This fixes the compiler problem
on cortexa8 and does not seem to be very invasive. The original commit
can be found at:

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212178 138bc75d-0d04-0410-961f-82ee72b054a4

(From OE-Core master rev: 6751ef78694783fb86e55c77afefae750ab1b610)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
meta/recipes-devtools/gcc/gcc-4.9.inc
meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch [new file with mode: 0644]