This is the mail archive of the gcc@gcc.gnu.org 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]

Re: New const function detection code and infinite loops.




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
> 


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