This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: h8300: less optimal (buggy?) compiler output with last build
- To: ralf dot guetlein at biotest-mt dot de
- Subject: Re: h8300: less optimal (buggy?) compiler output with last build
- From: Alan Lehotsky <lehotsky at sunspot dot tiac dot net>
- Date: Wed, 16 Aug 2000 12:18:29 -0400 (EDT)
- CC: kazu at hxi dot com, gcc at gcc dot gnu dot org, gnuh8 at pcserv dot demon dot co dot uk
what happens if you change your inline to be...
inline void Watchdog()
{
TCW = 0;
}
so the front-end doesn't think it needs to return a value
of the last expression executed ? [Which I thought it
should be warning about
1/ function without a return type (implicit int)
2/ value-returning function not returning a value
IIRC, these are BOTH C++ errors and -WALL warnings for C.
-- Al Lehotsky