This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[lra] fixing x86 gcc testsuite regressions


The following tiny patch fixes testsuite regressions on x86-64 occurred after latest merge (this weekend).

The patch was successfully bootstrapped on x86/x86-64.

Committed as rev. 184173.

2012-02-13 Vladimir Makarov <vmakarov@redhat.com>

* lra.c (check_rtl): Ignore addr with UNSPEC.

Index: lra.c
===================================================================
--- lra.c	(revision 184156)
+++ lra.c	(working copy)
@@ -1940,6 +1940,7 @@ check_rtl (bool final_p)
 		   legitimate if they satisfies the constraints and
 		   will be checked by insn constraints which we
 		   ignore here.  */
+		&& GET_CODE (XEXP (op, 0)) != UNSPEC
 		&& GET_CODE (XEXP (op, 0)) != PRE_DEC
 		&& GET_CODE (XEXP (op, 0)) != PRE_INC
 		&& GET_CODE (XEXP (op, 0)) != POST_DEC

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]