Patch has been tested with DejaGnu gcc test suite on mips32r2 cross compiler and bootstrapped and tested on x86_64 native compiler.
Radovan ________________________________________ From: Jeff Law [l...@redhat.com] Sent: Monday, November 17, 2014 1:18 PM To: Radovan Obradovic; gcc-patches@gcc.gnu.org Cc: Petar Jovanovic Subject: Re: [PATCH] Disable -fuse-caller-save when -pg is active On 11/14/14 10:10, Radovan Obradovic wrote: > Thank you for the quick reply. > >> Please repost after updating to test HAVE_prologue and >> HAVE_epilogue and adding a testcase. > > I have managed to reproduce the problem on the small test case on > mips32, but the test is architecture independent and should probably > fail on many other ports without this patch. The optimization is also > disabled if macros HAVE_prologue and HAVE_epilogue are not defined or > have false value. Thanks. This looks good. I forgot to ask in my prior message, has this patch been bootstrapped and regression tested? If so, on what platform? Jeff