This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: x86-64 bootstrap broken (was Re: [PATCH] tree level if-conversion for vectorizer)
- From: Jan Hubicka <jh at suse dot cz>
- To: Devang Patel <dpatel at apple dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, Richard Henderson <rth at redhat dot com>,Diego Novillo <dnovillo at redhat dot com>,GCC Patches <gcc-patches at gcc dot gnu dot org>,Dorit Naishlos <DORIT at il dot ibm dot com>, Ayal Zaks <ZAKS at il dot ibm dot com>,gcc-bugs at gcc dot gnu dot org, stevenb at suse dot de
- Date: Sat, 4 Sep 2004 22:39:26 +0200
- Subject: Re: x86-64 bootstrap broken (was Re: [PATCH] tree level if-conversion for vectorizer)
- References: <20040826175940.GD5543@redhat.com> <704A4F05-F893-11D8-A1AD-000393A91CAA@apple.com> <20040830225141.GC3700@redhat.com> <80448B92-FB00-11D8-A1E0-000393A91CAA@apple.com> <20040831044334.GA4561@redhat.com> <3C950169-FB10-11D8-A1E0-000393A91CAA@apple.com> <20040831063608.GA5008@redhat.com> <473D0A88-FC52-11D8-9C9F-000393A91CAA@apple.com> <20040904125511.GT22834@atrey.karlin.mff.cuni.cz> <46F08586-FE96-11D8-BA99-000393A91CAA@apple.com>
>
> On Sep 4, 2004, at 5:55 AM, Jan Hubicka wrote:
>
> >Devang,
> >it looks like your patch is responsible for misscompilation of stage2
> >at
> >x86-64 compiler (so we die building libgcc with memory corruption). I
> >checked it by disabling the pass from tree-optimize and we got past it.
> >
> >Would be possible to look into it soon? I've got similarly looking
> >failure on PPC-linux too:
> >/abuild/gcc-test/gcc/gcc/libgcc2.c:359: internal compiler error: in
> >pool_free, at alloc-pool.c:287
> >Please submit a full bug report,
> >with preprocessed source if appropriate.
> >See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> >/abuild/gcc-test/gcc/gcc/libgcc2.c: In function `__ashldi3':
> >/abuild/gcc-test/gcc/gcc/libgcc2.c:387: internal compiler error:
> >Segmentation fault
> >Please submit a full bug report,
> >with preprocessed source if appropriate.
> >See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> >/abuild/gcc-test/gcc/gcc/libgcc2.c: In function `__ashrdi3':
> >/abuild/gcc-test/gcc/gcc/libgcc2.c:416: internal compiler error: in
> >pool_free, at alloc-pool.c:287
> >Please submit a full bug report,
> >with preprocessed source if appropriate.
>
> Would it be possible to send me preprocessed source ?
> I do not have access to x86-64 box and ppc-linux box
> in the lab has decided to not respond at the moment.
Well, the problem is that the same source works fine with stage1
compiler and crash in stage2, so what we are facing is an
misscompilation of gcc itself. It however crashed for me on
i686-pc-linux box too.
Honza
>
> It is possible that get_loop_body_in_bfs_order() is causing
> this.
>
> Thanks,
> -
> Devang