On Sun, Jun 24, 2012 at 8:46 AM, Richard Sandiford <[email protected]> wrote: > "H.J. Lu" <[email protected]> writes: >> On Sun, Jun 24, 2012 at 3:36 AM, Richard Sandiford >> <[email protected]> wrote: >>> I realise it's a bit clunky, but is the attached patch OK? >>> Tested on mipsisa64-elf, where it restores the build, and on >>> x86_64-linux-gnu. >>> >>> Richard >>> >>> >>> gcc/ >>> * dwarf2out.c (mem_loc_descriptor): Ignore DWARF2_ADDR_SIZE >>> for frame- and argument-pointer reg+offset expressions. >>> >> >> It looks the same as >> >> http://gcc.gnu.org/ml/gcc-patches/2012-04/msg01815.html > > Ah! Yes indeed. > >> and my patch has 2 testcases. > > Point taken, but for the record, I didn't think testcases were needed > for mine, since it's a build breaker for a primary target... >
I see. FWIW, GDB crashed when I tried to debug some x32 binaries. I think the assert and this fix should be applied to trunk as well as the affected branches. -- H.J.
