This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug c/43691] Code segfault when compiled with -Os, -O2, or -O3
- From: Andrew Pinski <pinskia at gmail dot com>
- To: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- Cc: "gcc-bugs at gcc dot gnu dot org" <gcc-bugs at gcc dot gnu dot org>
- Date: Thu, 8 Apr 2010 10:04:40 -0700
- Subject: Re: [Bug c/43691] Code segfault when compiled with -Os, -O2, or -O3
- References: <bug-43691-17255@http.gcc.gnu.org/bugzilla/> <20100408165018.24145.qmail@sourceware.org>
I don't think this is a bug in gcc. The inline-asm uses $16 but any of
the output/temp registers could use that as you don't say the agrument
is used as an input.
Sent from my iPhone
On Apr 8, 2010, at 9:50 AM, "mattst88 at gmail dot com" <gcc-bugzilla@gcc.gnu.org
> wrote:
------- Comment #2 from mattst88 at gmail dot com 2010-04-08 16:50
-------
Created an attachment (id=20338)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20338&action=view)
test.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43691