Yes, this is OK.
Committed as SVN 225536.
Regards,
Andrew
I'm not sure this is the right approach here. If we get a jraddiusp then the
problem that the test is trying to cover can't possibly happen anyway.
(The test is checking if a load and final stack adjustment are ever re-
ordered
from what I can see.)
I'd just mark the test as
-Original Message-
From: Andrew Bennett [mailto:andrew.benn...@imgtec.com]
Sent: Tuesday, July 07, 2015 12:14 PM
To: Moore, Catherine; Matthew Fortune; gcc-patches@gcc.gnu.org
Subject: RE: [PATCH] MIPS: Update stack-1.c testcase to match micromips
jraddiusp instruction.
I'm
-Original Message-
From: Matthew Fortune [mailto:matthew.fort...@imgtec.com]
Sent: Monday, July 06, 2015 11:00 AM
To: Andrew Bennett; gcc-patches@gcc.gnu.org
Cc: Moore, Catherine
Subject: RE: [PATCH] MIPS: Update stack-1.c testcase to match micromips
jraddiusp instruction
Andrew Bennett andrew.benn...@imgtec.com writes:
The stack-1.c testcase fails when being compiled for micromips with the
-O0 optimization level. The reason is the testcase is expecting the
following sequence at the end of the function:
addiu $sp,$sp,16
jrc $31
But