This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: h8300: less optimal (buggy?) compiler output with last build


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
---------------------------



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]