From e1798d063e6d794bd44ba329e1b3ba5ac1dca9a5 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Fri, 6 Feb 2009 20:55:50 -0800 Subject: [PATCH] Quell g++ 4.3 warning about operator ambiguity --- src/arch/x86/isa/microops/regop.isa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86/isa/microops/regop.isa b/src/arch/x86/isa/microops/regop.isa index 202bfc7f5..567335b7f 100644 --- a/src/arch/x86/isa/microops/regop.isa +++ b/src/arch/x86/isa/microops/regop.isa @@ -1074,7 +1074,7 @@ let {{ // Fall through on purpose case SegIntGateCheck: // Make sure the gate's the right type. - if (m5reg.mode == LongMode && ((desc.type & 0xe) != 0xe) || + if ((m5reg.mode == LongMode && (desc.type & 0xe) != 0xe) || ((desc.type & 0x6) != 0x6)) { fault = new GeneralProtection(0); } -- 2.30.2