This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Useless code generated by gcc 2.95.2????
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: Useless code generated by gcc 2.95.2????
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 3 Nov 1999 15:40:16 -0800
- Cc: deweese at kodak dot com, martin at mira dot isdn dot cs dot tu-berlin dot de, gcc at gcc dot gnu dot org
- References: <19991103103255.D32673@cygnus.com> <199911032320.XAA22625@phal.cygnus.co.uk>
On Wed, Nov 03, 1999 at 11:20:40PM +0000, Joern Rennecke wrote:
> If the code was written by the user, it should not be deleted at -O0.
> setting breakpoints and looking at the compiled code shouldn't yield
> any surprises at -O0.
Oh please.
We can quite safely provide a single unreachable nop
(instead of multiple kilobytes of code) on which to
set such worthless breakpoints.
r~