This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Problems with egcs-1.0.1-/gcc-2.8.0-inline assembly
- To: egcs-bugs at cygnus dot com
- Subject: Re: Problems with egcs-1.0.1-/gcc-2.8.0-inline assembly
- From: Bernd Nottelmann <nottelm at ptp283 dot uni-muenster dot de>
- Date: Mon, 19 Jan 1998 16:42:43 +0100
- Organization: Westfälische Wilhelms-Universität Münster
- References: <34C3710F.EF202C8@pt2037.uni-muenster.de>
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