> -----Original Message----- > From: Andrew Bennett [mailto:andrew.benn...@imgtec.com] > Sent: Monday, July 06, 2015 9:20 AM > To: gcc-patches@gcc.gnu.org > Cc: Matthew Fortune; Moore, Catherine > Subject: [PATCH] MIPS: For micromips allow near-far-3.c test to use the jals > instruction to call near_func > > Hi, > > The near-far-3.c test is failing for micromips because it is expecting the > call to > near_func to be performed by a jal instruction, but for micromips this is done > by a jals instruction. > > I have updated the expected test output to deal with this case. I have tested > this on the mips-mti-elf target using mips32r2/{-mno-micromips/- > mmicromips} > test options and there are no new regressions. > > The patch and ChangeLog are below. > > Ok to commit? > > testsuite/ > * gcc.target/mips/near-far-3.c: Allow the call to near_func to use > the jals instruction. > >
OK.