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: "Kazu Hirata" <kazu at hxi dot com>, "gnuh8" <gnuh8 at pcserv dot demon dot co dot uk>, "gcc" <gcc at gcc dot gnu dot org>, "Bill Knight" <BillK at rosw dot com>
- Subject: Re: h8300: less optimal (buggy?) compiler output with last build
- From: Ralf Gütlein <ralf dot guetlein at aranea dot de>
- Date: Fri, 18 Aug 2000 10:48:16 +0200
- References: <200008161601.LAA05198@mail.teleteam.net> <03f401c0082e$82ec0e80$650b0d0a@Alzenau>
- Reply-To: Ralf Gütlein <ralf dot guetlein at biotest-mt dot de>
After some new discoveries in this case, I submitted a bug report to
gcc-bugs this morning.
See http://gcc.gnu.org/ml/gcc-bugs/2000-08/msg00409.html
Regards,
Ralf
> To sum it up:
> The compiler generates an unneccessary (and thus erroneous, even
dangerous)
> read acccess to a previously written location, if all of the following
> conditions are true:
>
> 1) the object is volatile
> 2) the object is written to by an inline function
> 3) this inline function is called
.....
ô ô )
-----oOOo--(_)---oOOo------
Ralf Guetlein
Biotest Medizintechnik GmbH
Industriestrasse 19
D-63755 Alzenau
Germany
---------------------------
Tel. +49 6023 9487-42
Fax. +49 6023 9487-33
ralf.guetlein@biotest-mt.de
---------------------------