gcc: fix ICE when building webkitgtk
Compile webkitgtk failed with ICE
...
|tmp/work/x86-64-v3-oe-linux/webkitgtk/2.50.0/sources/webkitgtk-2.50.0/
Source/WebCore/platform/ScrollAnimationMomentum.cpp:96:6: internal compiler
error: in expand_debug_locations, at cfgexpand.cc:6042
...
Backport a patch from upstream to fix the issue [1][2]
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122394
[2] https://gcc.gnu.org/cgit/gcc/commit/?id=
e55dcff97708a4937dc4d8736b8b3074ebbff6f3
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>