[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    Re:  HPUX-DEVTOOLS: C compiler optimizing to an infinite loop?
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2002-08-16 21:48:55
[Download RAW message or body]

> warning 6005: Infinite loop detected. Check for spinning on 
>non-volatile variable.
>I've whittled down the code down to the bare minimum required to provoke 
   while(bar.foo.unstable) ;
>/opt/ansic/bin/cc: HP92453-01 B.11.11.02 HP C Compiler

I can't duplicate this with the upcoming AR0902 B.11.11.06.

>can someone put my mind to rest by saying that the warning is spurious,
>or is the compiler really doing what it seems to indicate it is doing

The message is accurate, +O3 messed up.

You may try a latter patch or wait until Sept.
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic