Hi Jakub, On Thu, 9 Apr 2020 at 17:06, Richard Biener <rguent...@suse.de> wrote: > > On Thu, 9 Apr 2020, Alexandre Oliva wrote: > > > On Apr 9, 2020, Jakub Jelinek <ja...@redhat.com> wrote: > > > > > 2020-04-09 Jakub Jelinek <ja...@redhat.com> > > > > > PR debug/94495 > > > * cselib.h (cselib_record_sp_cfa_base_equiv, > > > cselib_sp_derived_value_p): Declare. > > > * cselib.c (cselib_record_sp_cfa_base_equiv, > > > cselib_sp_derived_value_p): New functions. > > > * var-tracking.c (add_stores): Don't record MO_VAL_SET for > > > cselib_sp_derived_value_p values. > > > (vt_initialize): Call cselib_record_sp_cfa_base_equiv at the > > > start of extended basic blocks other than the first one > > > for !frame_pointer_needed functions. > > > > Beautiful, thanks! > > Thus OK. >
This patch makes GCC fail to build newlib when configured for aarch64_be-none-elf: 0x10c488c vt_expand_var_loc_chain /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/var-tracking.c:8355 0x10c488c vt_expand_loc_callback /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/var-tracking.c:8551 0x8a0aa4 cselib_expand_value_rtx_1 /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cselib.c:1881 0x8a2b5e cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def* (*)(rtx_def*, bitmap_head*, int, void*), void*) /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cselib.c:1727 0x10c412a vt_expand_loc_callback /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/var-tracking.c:8487 0x8a09c1 cselib_expand_value_rtx_1 /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cselib.c:1846 0x8a2b5e cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def* (*)(rtx_def*, bitmap_head*, int, void*), void*) /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cselib.c:1727 0x10c4426 vt_expand_var_loc_chain /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/var-tracking.c:8389 0x10c4426 vt_expand_loc_callback /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/var-tracking.c:8551 0x8a0aa4 cselib_expand_value_rtx_1 /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cselib.c:1881 0x8a2b5e cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def* (*)(rtx_def*, bitmap_head*, int, void*), void*) /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cselib.c:1727 0x10c4426 vt_expand_var_loc_chain /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/var-tracking.c:8389 0x10c4426 vt_expand_loc_callback /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/var-tracking.c:8551 0x8a0aa4 cselib_expand_value_rtx_1 /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cselib.c:1881 0x8a07fc cselib_expand_value_rtx_1 /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cselib.c:1919 0x8a07fc cselib_expand_value_rtx_1 /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cselib.c:1919 0x8a2b5e cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def* (*)(rtx_def*, bitmap_head*, int, void*), void*) /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cselib.c:1727 0x10c4426 vt_expand_var_loc_chain /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/var-tracking.c:8389 0x10c4426 vt_expand_loc_callback /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/var-tracking.c:8551 0x8a0aa4 cselib_expand_value_rtx_1 /tmp/9192639_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cselib.c:1881 make[7]: *** [Makefile:824: lib_a-ldtoa.o] Error 1 make[7]: *** Waiting for unfinished jobs.... make[7]: Leaving directory '/tmp/9192639_9.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/newlib/aarch64_be-none-elf/ilp32/newlib/libc/stdlib' Christophe > Richard. > > -- > Richard Biener <rguent...@suse.de> > SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg, > Germany; GF: Felix Imendörffer; HRB 36809 (AG Nuernberg)