* config/avr/avr.c (avr_can_eliminate): Allow elimination from
        arg pointer to stack pointer if no frame pointer is needed.
        * config/avr/avr.h (ELIMINABLE_REGS): Add entry for elimination
        from arg pointer to stack pointer.
        * cfgexpand.c (expand_debug_expr) <MEM_REF,INDIRECT_REF,ADDR_EXPR>:
        Fix address space computation.
        * gcc.dg/ipa/ipa-pta-14.c (scan-ipa-dump) [keeps_null_pointer_checks]:
        Don't expect NULL in foo.result set.
        * gcc.dg/tree-ssa/pta-escape-1.c (scan-tree-dump): Don't expect NULL
        in ESCAPED set.
        * gcc.dg/tree-ssa/pta-escape-2.c: Likewise.
        * gcc.dg/tree-ssa/pta-escape-3.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202314 138bc75d-0d04-0410-961f-82ee72b054a4

Conflicts:
	gcc/testsuite/ChangeLog
	gcc/testsuite/gcc.dg/ipa/ipa-pta-14.c
	gcc/testsuite/gcc.dg/tree-ssa/pta-escape-1.c
	gcc/testsuite/gcc.dg/tree-ssa/pta-escape-2.c
	gcc/testsuite/gcc.dg/tree-ssa/pta-escape-3.c
gcc:
        PR other/58545
        * reload1.c (update_eliminables_and_spill): New function, broken
        out of reload.
        (reload): Use it.  Check for frame size change after frame
        size alignment, and call update_eliminables_and_spill first
        if continue-ing.
gcc/testsuite:
        PR other/58545
        * gcc.target/avr/pr58545.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204234 138bc75d-0d04-0410-961f-82ee72b054a4

Conflicts:
	gcc/ChangeLog
	gcc/testsuite/ChangeLog