]> code.ossystems Code Review - openembedded-core.git/commit
gcc: backport two patches to fix ICE in dwarf2out_var_location
authorJackie Huang <jackie.huang@windriver.com>
Fri, 31 Oct 2014 14:41:49 +0000 (10:41 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Nov 2014 16:41:35 +0000 (16:41 +0000)
commitde52db1b1b0dbc9060dddceb42b7dd4f66a7e0f3
tree4d84901f29a218afd950241efd52ee5de6659fe6
parent3aad6d51a303d0330205eebfeac58c2ccb612e77
gcc: backport two patches to fix ICE in dwarf2out_var_location

The first patch fixes the ICE in dwarf2out_var_location, at
dwarf2out.c.

r212171:
    * except.c (emit_note_eh_region_end): New helper function.
    (convert_to_eh_region_ranges): Use emit_note_eh_region_end to
    emit EH_REGION_END note.
    * jump.c (cleanup_barriers): Do not split a call and its
    corresponding CALL_ARG_LOCATION note.

But it introduced a regression issue:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63348

so backport the fix for the regression as well:

r215613:
    PR rtl-optimization/63348
    * emit-rtl.c (try_split): Do not emit extra barrier.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gcc/gcc-4.9.inc
meta/recipes-devtools/gcc/gcc-4.9/0058-gcc-r212171.patch [new file with mode: 0644]
meta/recipes-devtools/gcc/gcc-4.9/0059-gcc-PR-rtl-optimization-63348.patch [new file with mode: 0644]