Path: utzoo!attcan!uunet!deimos.cis.ksu.edu!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!aglew From: aglew@basagran.csg.uiuc.edu (Andy Glew) Newsgroups: comp.sys.m88k Subject: Re: Grabbing arithmetic overflow traps ? Message-ID: Date: 28 Jun 90 00:26:26 GMT References: <9724@discus.technion.ac.il> <3418@oakhill.UUCP> <1990Jun27.173213.8250@dg-rtp.dg.com> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois, Computer Systems Group Lines: 8 In-Reply-To: wood@gen-rtx.rtp.dg.com's message of 27 Jun 90 17:32:13 GMT Doesn't GCC support an escape to assembly language? So, could the fellow who wants overflow not just define his own "add with overflow detection" function, which uses the assembly inline function for "add" (with a trap handler for the desired side effects) --- or a more detailed and portable check on other machines? -- Andy Glew, aglew@uiuc.edu