"Peter A. Felvegi" writes: >>> My question is: wouldn't it be possible to print a warning when a jmp >>> to itself or trivial infinite recursion is generated? The code >>> compiled fine w/ -Wall -Wextra -Werror w/ 4.6 and 4.7. Note that if the target architecture is a microcontroller, an endless loop can be a legitimate way to finish / abort the program.
- Code optimization: warning for code that hangs Peter A. Felvegi
- Re: Code optimization: warning for code that hangs Ian Lance Taylor
- Re: Code optimization: warning for code that han... Richard Guenther
- Re: Code optimization: warning for code that... Ángel González
- Re: Code optimization: warning for code ... Robert Dewar
- Re: Code optimization: warning for ... David Brown
- Re: Code optimization: warning for code that... Robert Dewar
- Re: Code optimization: warning for code that hangs Peter A. Felvegi