This is the mail archive of the gcc-bugs@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: Problems with egcs-1.0.1-/gcc-2.8.0-inline assembly


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




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