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: rth at cygnus dot com (Richard Henderson)
- Subject: Re: Useless code generated by gcc 2.95.2????
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Wed, 3 Nov 1999 23:20:40 +0000 (GMT)
- 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
> We make no attempt to remove dead code in the -O0 case.
> Which IMO is a mistake, but not one I've gotten around
> to correcting just yet.
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.