New const function detection code and infinite loops.
Jan Hubicka
jhub6202@ss1000.ms.mff.cuni.cz
Sun Aug 22 19:15:00 GMT 1999
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
>
More information about the Gcc
mailing list