New problems with gcc-2.8.0 based code - NOW FIXED!
Paul Koning
pkoning@xedia.com
Tue Dec 30 13:17:00 GMT 1997
GCC 2.7.2.1 had a bug that showed up in some backends, and EGCS
exposed it with more backends, where asm statements that should have
been treated as unmovable were actually moved. (Spefically, those
with no output arguments; the documentation quite rightly says that
those are always treated as if they were marked "volatile" even when
not so marked.)
That bug was fixed in egcs just a few weeks ago. If gcc 2.8.x doesn't
have the corresponding fix, that could account for the problem. As I
recall from the earlier discussion, one symptom of the bug was that
Linux would crash or otherwise misbehave, but only if you turned on
"enough" optimization.
The fix was only a few lines, you might try the experiment of applying
it to gcc 2.8 if the relevant module is reasonably similar.
paul
More information about the Gcc
mailing list