This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New const function detection code and infinite loops.
- To: Jeffrey A Law <law at cygnus dot com>
- Subject: Re: New const function detection code and infinite loops.
- From: Jan Hubicka <jhub6202 at ss1000 dot ms dot mff dot cuni dot cz>
- Date: Mon, 23 Aug 1999 04:15:49 +0200 (MET DST)
- cc: egcs at egcs dot cygnus dot com
On Sun, 22 Aug 1999, Jeffrey A Law wrote:
> In message <Pine.LNX.3.95.990822163424.31469B-100000@u-sl0.ms.mff.cuni.cz>you
> write:
> > Hi
> > It is OK to remove call to function containing infinite loop?
> IMHO yes. A function with an infinite loop should never be const.
Thats true. But our new const detection code will happily mark such
function to be const. Thats wrong (because that function will be removed)
Honza
>
>
> jeff
>