package/gcc: fix ICE on xtensa, 5.x and 6.x, PR target/78603
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 29 Nov 2016 23:37:49 +0000 (15:37 -0800)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Nov 2016 21:44:31 +0000 (22:44 +0100)
commit1816f875409de16b91d002fd383ade793c93f504
treeedb97399cf0d3b2e7f68b5abd7be5a356cfd2479
parent41fc9e40a5c647d6d074da7f5a41892f3aca37d8
package/gcc: fix ICE on xtensa, 5.x and 6.x, PR target/78603

Zero overhead loop optimization pass may incorrectly put start of the
loop between a call and its CALL_ARG_LOCATION note, resulting in the
following build error:

  ../src/pjlib-test/thread.c: In function 'thread_test':
  ../src/pjlib-test/thread.c:328:1: internal compiler error: in
    dwarf2out_var_location, at dwarf2out.c:21846

Fixes:
  http://autobuild.buildroot.net/results/d919e1276ce1d39b4b3eb09937927d5959cd69a3/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/5.4.0/876-xtensa-Fix-PR-target-78603.patch [new file with mode: 0644]
package/gcc/6.2.0/871-xtensa-Fix-PR-target-78603.patch [new file with mode: 0644]