[Bug debug/65779] [5 Regression] undefined local symbol on powerpc [regression]

2016-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65779

--- Comment #19 from Jakub Jelinek  ---
Author: jakub
Date: Wed Feb 10 18:36:53 2016
New Revision: 233294

URL: https://gcc.gnu.org/viewcvs?rev=233294=gcc=rev
Log:
Backported from mainline
2016-01-19  Jakub Jelinek  

PR debug/65779
* shrink-wrap.c: Include valtrack.h.
(move_insn_for_shrink_wrap): Add DEBUG argument.  If
MAY_HAVE_DEBUG_INSNS, call dead_debug_add on DEBUG_INSNs
in between insn and where it will be moved to.  Call
dead_debug_insert_temp.
(prepare_shrink_wrap): Adjust caller.  Call dead_debug_local_init
first and dead_debug_local_finish at the end.
For uses and defs bitmap, handle all regs in between REGNO and
END_REGNO, not just the first one.

* gcc.dg/pr65779.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr65779.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/shrink-wrap.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug debug/65779] [5 Regression] undefined local symbol on powerpc [regression]

2016-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65779

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #20 from Jakub Jelinek  ---
Fixed.

[Bug debug/65779] [5 Regression] undefined local symbol on powerpc [regression]

2016-01-25 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65779

Sebastian Huber  changed:

   What|Removed |Added

 CC||sebastian.huber@embedded-br
   ||ains.de

--- Comment #18 from Sebastian Huber  ---
(In reply to Jakub Jelinek from comment #17)
> Fixed on the trunk so far.

I can confirm that the originally reported problem is fixed by this change. 
Works with 6.0.0 20160124, fails with 6.0.0 20160117.

[Bug debug/65779] [5 Regression] undefined local symbol on powerpc [regression]

2016-01-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65779

Jakub Jelinek  changed:

   What|Removed |Added

Summary|[5/6 Regression] undefined  |[5 Regression] undefined
   |local symbol on powerpc |local symbol on powerpc
   |[regression]|[regression]

--- Comment #17 from Jakub Jelinek  ---
Fixed on the trunk so far.