[PATCH] RISC-V/GAS: Correct an `expr' global shadowing error for pre-4.8 GCC

Jim Wilson jimw@sifive.com
Sat Feb 3 19:45:00 GMT 2018


On Sat, Feb 3, 2018 at 7:15 AM, Maciej W. Rozycki <macro@mips.com> wrote:
>         gas/
>         * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
>         `expr' parameter to `ep'.

OK.

Though this makes me wonder how far back I am expected to support.  I
think all of my current machines are Ubuntu 16.04 or newer, which
means gcc-5.4 or newer.  If I need to support older gcc versions, I
may need to install older OS verions, or at least have them available
as a chroot.  Looks like Ubuntu 14.04 is gcc-4.8 and Ubuntu 12.04 is
gcc-4.6, so I'd need something from circa 2012 to find these kinds of
problems myself.

Jim



More information about the Binutils mailing list