Problems with egcs-1.0.1-/gcc-2.8.0-inline assembly

Bernd Nottelmann nottelm@ptp283.uni-muenster.de
Mon Jan 19 07:42:00 GMT 1998


Bernd Nottelmann wrote:
[...]

> Compiled with
> gcc strtst.c -o strtst
> it runs without any error messages:
>
> # ./strtst
> Not found
> Not found
> Not found
> Not found
> Not found
>
> but when I compile it with -O and higher optimizations
> it gives a seg fault (it occurs in the assembler line with
> the corresponding comment).

[...]

OOPS ... inadvertently I klicked the "Send Now"-Button
of my composer-window before I finished the mail :-(

The assembler files generated without optimization
(strtst1.s) and with -O (strtst2.s) are attached.

Bernd





More information about the Gcc-bugs mailing list