Path: utzoo!utgpu!watserv1!watmath!att!rutgers!netnews.upenn.edu!msuinfo!convex.cl.msu.edu!jap From: jap@convex.cl.msu.edu (Joe Porkka) Newsgroups: comp.lang.c Subject: Re: Compiler bug or gray area in C? Message-ID: <1990Nov29.143554.27084@msuinfo.cl.msu.edu> Date: 29 Nov 90 14:35:54 GMT References: <1990Nov28.220233.2630@ingres.Ingres.COM> Sender: news@msuinfo.cl.msu.edu Organization: Michigan State University Lines: 17 daveb@ingres.com (When a problem comes along . . . you must whip it) writes: >Given this simplification: > > extern double D, foo(); > > foo( i ) > int i; > { > double x; > int changes = 0; > do { > > x = foo( i ); Ooops, the recursion starts but but does not stop. You recurse BEFORE you do anything that could stop it, like an if.