This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enable pointer TBAA for LTO
- From: Thomas Schwinge <thomas at codesourcery dot com>
- To: Ilya Verbin <iverbin at gmail dot com>, Richard Biener <rguenther at suse dot de>, Jan Hubicka <hubicka at ucw dot cz>
- Cc: Martin Jambor <mjambor at suse dot cz>, Bernd Schmidt <bschmidt at redhat dot com>, <gcc-patches at gcc dot gnu dot org>, Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Date: Fri, 27 Nov 2015 08:30:51 +0100
- Subject: Re: Enable pointer TBAA for LTO
- Authentication-results: sourceware.org; auth=none
- References: <20151108204618 dot GA68715 at kam dot mff dot cuni dot cz> <alpine dot LSU dot 2 dot 11 dot 1511101306050 dot 10078 at zhemvz dot fhfr dot qr> <20151110181515 dot GB78110 at kam dot mff dot cuni dot cz> <alpine dot LSU dot 2 dot 11 dot 1511111019350 dot 7543 at zhemvz dot fhfr dot qr> <564337E7 dot 2070802 at redhat dot com> <20151111221359 dot GA93507 at kam dot mff dot cuni dot cz> <20151111223121 dot GA88599 at kam dot mff dot cuni dot cz> <20151122230025 dot GA85269 at kam dot mff dot cuni dot cz> <20151123135156 dot GB6879 at virgil dot suse dot cz> <alpine dot LSU dot 2 dot 11 dot 1511231630350 dot 4884 at t29 dot fhfr dot qr> <20151123153430 dot GA30911 at msticlxl57 dot ims dot intel dot com>
Hi!
On Mon, 23 Nov 2015 18:34:30 +0300, Ilya Verbin <iverbin@gmail.com> wrote:
> On Mon, Nov 23, 2015 at 16:31:42 +0100, Richard Biener wrote:
> > I think it also causes the following and one related ICE
> >
> > FAIL: gcc.dg/vect/pr62021.c -flto -ffat-lto-objects (internal compiler
> > error)
> >
> > /space/rguenther/src/svn/trunk3/gcc/testsuite/gcc.dg/vect/pr62021.c:7:1:
> > internal compiler error: in get_alias_set, at alias.c:880^M
> > 0x7528a7 get_alias_set(tree_node*)^M
> > /space/rguenther/src/svn/trunk3/gcc/alias.c:880^M
> > 0x751ce5 component_uses_parent_alias_set_from(tree_node const*)^M
> > /space/rguenther/src/svn/trunk3/gcc/alias.c:635^M
> > 0x7522ad reference_alias_ptr_type_1^M
> > /space/rguenther/src/svn/trunk3/gcc/alias.c:747^M
> > 0x752683 get_alias_set(tree_node*)^M
> > ...
>
> And an ICE in intelmicemul offloading compiler:
>
> FAIL: libgomp.c++/for-11.C (internal compiler error)
> FAIL: libgomp.c++/for-13.C (internal compiler error)
> FAIL: libgomp.c++/for-14.C (internal compiler error)
> FAIL: libgomp.c/for-3.c (internal compiler error)
> FAIL: libgomp.c/for-5.c (internal compiler error)
> FAIL: libgomp.c/for-6.c (internal compiler error)
>
> libgomp/testsuite/libgomp.c/for-2.h:201:9: internal compiler error: in get_alias_set, at alias.c:880
> 0x710eef get_alias_set(tree_node*)
> gcc/alias.c:880
> 0x71032d component_uses_parent_alias_set_from(tree_node const*)
> gcc/alias.c:635
> 0x7108f5 reference_alias_ptr_type_1
> gcc/alias.c:747
> 0x710ccb get_alias_set(tree_node*)
> gcc/alias.c:843
> 0x89d208 expand_assignment(tree_node*, tree_node*, bool)
> gcc/expr.c:5020
> 0x768ff7 expand_gimple_stmt_1
> gcc/cfgexpand.c:3592
> 0x7693e2 expand_gimple_stmt
> gcc/cfgexpand.c:3688
> 0x7704ed expand_gimple_basic_block
> gcc/cfgexpand.c:5694
> 0x771ff1 execute
> gcc/cfgexpand.c:6309
Belatedly confirmed, and also confirmed fixed with trunk r230835,
<http://news.gmane.org/find-root.php?message_id=%3C20151124061000.GA4494%40kam.mff.cuni.cz%3E>.
GrÃÃe
Thomas