[Bug target/78603] internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78603 --- Comment #7 from jcmvbkbc at gcc dot gnu.org --- *** Bug 67586 has been marked as a duplicate of this bug. ***
[Bug target/78603] internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78603 --- Comment #1 from jcmvbkbc at gcc dot gnu.org --- Created attachment 40193 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40193&action=edit additional patch on top of gcc-5.4.0
[Bug target/78603] internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78603 --- Comment #2 from jcmvbkbc at gcc dot gnu.org --- Similar bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48214 And looks like the same problem here: first instruction of zero overhead loop got inserted between the call and its NOTE_INSN_CALL_ARG_LOCATION: (call_insn 145 144 574 11 (set (reg:SI 10 a10) (call (mem:SI (reg/f:SI 8 a8 [135]) [0 pj_thread_sleep S4 A32]) (const_int 0 [0]))) ../src/pjlib-test/thread.c:221 56 {call_value_internal} (expr_list:REG_DEAD (reg/f:SI 8 a8 [135]) (expr_list:REG_UNUSED (reg:SI 10 a10) (expr_list:REG_CALL_DECL (symbol_ref:SI ("pj_thread_sleep") [flags 0x41] ) (nil (expr_list:SI (use (reg:SI 10 a10)) (nil))) (insn 574 145 493 11 (parallel [ (set (pc) (if_then_else (ne (reg:SI 2 a2 [198]) (const_int 1 [0x1])) (label_ref 175) (pc))) (set (reg:SI 2 a2 [198]) (plus (reg:SI 2 a2 [198]) (const_int -1 [0x]))) (unspec [ (const_int 0 [0]) ] 12) ]) ../src/pjlib-test/thread.c:221 -1 (nil)) (note 493 574 494 11 (expr_list:REG_DEP_TRUE (concat:SI (pc) (const (unspec [ (symbol_ref:SI ("pj_thread_sleep") [flags 0x41] ) ] 3))) (expr_list:REG_DEP_TRUE (concat:SI (reg:SI 10 a10) (const_int 1000 [0x3e8])) (nil))) NOTE_INSN_CALL_ARG_LOCATION)
[Bug target/78603] internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78603 --- Comment #3 from jcmvbkbc at gcc dot gnu.org --- Author: jcmvbkbc Date: Tue Nov 29 22:22:13 2016 New Revision: 242979 URL: https://gcc.gnu.org/viewcvs?rev=242979&root=gcc&view=rev Log: xtensa: Fix PR target/78603 2016-11-29 Max Filippov gcc/ * config/xtensa/xtensa.c (hwloop_optimize): Don't emit zero overhead loop start between a call and its CALL_ARG_LOCATION note. Modified: trunk/gcc/ChangeLog trunk/gcc/config/xtensa/xtensa.c
[Bug target/78603] internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78603 jcmvbkbc at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from jcmvbkbc at gcc dot gnu.org --- Fixed.
[Bug target/78603] internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78603 --- Comment #5 from jcmvbkbc at gcc dot gnu.org --- Author: jcmvbkbc Date: Tue May 30 23:41:58 2017 New Revision: 248708 URL: https://gcc.gnu.org/viewcvs?rev=248708&root=gcc&view=rev Log: xtensa: Fix PR target/78603 2017-05-30 Max Filippov gcc/ Backport from mainline 2016-11-29 Max Filippov * config/xtensa/xtensa.c (hwloop_optimize): Don't emit zero overhead loop start between a call and its CALL_ARG_LOCATION note. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/xtensa/xtensa.c
[Bug target/78603] internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78603 --- Comment #6 from jcmvbkbc at gcc dot gnu.org --- Author: jcmvbkbc Date: Wed May 31 00:05:38 2017 New Revision: 248714 URL: https://gcc.gnu.org/viewcvs?rev=248714&root=gcc&view=rev Log: xtensa: Fix PR target/78603 2017-05-30 Max Filippov gcc/ Backport from mainline 2016-11-29 Max Filippov * config/xtensa/xtensa.c (hwloop_optimize): Don't emit zero overhead loop start between a call and its CALL_ARG_LOCATION note. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/xtensa/xtensa.c