This is the mail archive of the 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]

[committed] zero division checks

> It is, but I wouldn't object to adding "RejectNegative" to those
> two options if you think it's confusing.

OK. Done :)

committed mainline. tested by hand and mipsisa64-elf. no regressions.


2005-06-03  Eric Christopher  <>

	* config/mips/mips.opts: Add RejectNegative to divide-breaks
	and divide-traps.

Index: gcc/config/mips/mips.opt
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.opt,v
retrieving revision 1.5
diff -u -p -w -r1.5 mips.opt
--- gcc/config/mips/mips.opt	26 May 2005 05:27:57 -0000	1.5
+++ gcc/config/mips/mips.opt	3 Jun 2005 19:00:41 -0000
@@ -44,11 +44,11 @@ Target Report Mask(CHECK_ZERO_DIV)
 Trap on integer divide by zero
-Target Report Mask(DIVIDE_BREAKS)
+Target Report RejectNegative Mask(DIVIDE_BREAKS)
 Use branch-and-break sequences to check for integer divide by zero
-Target Report InverseMask(DIVIDE_BREAKS, DIVIDE_TRAPS)
+Target Report RejectNegative InverseMask(DIVIDE_BREAKS, DIVIDE_TRAPS)
 Use trap instructions to check for integer divide by zero

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