From: bal Date: Wed, 23 Jan 1985 16:25:29 +0000 (+0000) Subject: ovfl_harmful and arrbound_harmful turned into ints X-Git-Tag: release-5-5~5717 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=cac6ffd8c274953b35a6033cfbf1a400d846d271;p=ack.git ovfl_harmful and arrbound_harmful turned into ints --- diff --git a/util/ego/sr/sr.c b/util/ego/sr/sr.c index ce91d9ace..da38ae427 100644 --- a/util/ego/sr/sr.c +++ b/util/ego/sr/sr.c @@ -38,8 +38,8 @@ /* Machine and/or language dependent parameters: */ -bool ovfl_harmful; -bool arrbound_harmful; +int ovfl_harmful; +int arrbound_harmful; int Ssr; /* #optimizations found */ diff --git a/util/ego/sr/sr.h b/util/ego/sr/sr.h index 7ff40b0d1..a472690af 100644 --- a/util/ego/sr/sr.h +++ b/util/ego/sr/sr.h @@ -55,10 +55,10 @@ struct code_info { /* Parameters to be provided by environment: */ -extern bool ovfl_harmful; /* Does overflow during multiplication +extern int ovfl_harmful; /* Does overflow during multiplication * cause a trap ? */ -extern bool arrbound_harmful; /* Is it harmful to take the address of +extern int arrbound_harmful; /* Is it harmful to take the address of * a non-existing array element ? */ extern int Ssr; /* #optimizations found */