Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!cwi.nl!jack From: jack@cwi.nl (Jack Jansen) Newsgroups: gnu.gcc.bug Subject: Gcc 1.35 bug report. Message-ID: <8906131203.AA02628@piring.cwi.nl> Date: 13 Jun 89 12:03:24 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 31 Description: The optimizer sometimes throws away a test in an inline function that is inlined. Version: gcc 1.35, vax version, running on Ultrix 2.0 on a VS2000. Repeat by: Compile the following code with gcc -S -O and examine the output. ----------------------- int glob; inline subr(arg) short arg; { if( glob ) { if( arg < 0 ) return; else panic(); } } main() { subr(-1); } ----------------------- -- Een volk dat voor tirannen zwicht | Oral: Jack Jansen zal meer dan lijf en goed verliezen | Internet: jack@cwi.nl dan dooft het licht | Uucp: mcvax!jack