[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-05-25 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #26 from Eric Botcazou 2012-05-25 20:28:13 UTC --- Author: ebotcazou Date: Fri May 25 20:28:10 2012 New Revision: 187893 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187893 Log: PR lto/52178 * tree-inline.c (remap_gi

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-05-25 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #25 from Eric Botcazou 2012-05-25 20:26:20 UTC --- Author: ebotcazou Date: Fri May 25 20:26:11 2012 New Revision: 187892 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187892 Log: PR lto/52178 * tree-inline.c (remap_gi

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-14 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-14 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #23 from Eric Botcazou 2012-02-15 00:10:06 UTC --- Author: ebotcazou Date: Wed Feb 15 00:10:00 2012 New Revision: 184246 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184246 Log: PR lto/52178 * gimple.c (iterative_has

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #22 from Richard Guenther 2012-02-14 08:39:59 UTC --- Author: rguenth Date: Tue Feb 14 08:39:55 2012 New Revision: 184200 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184200 Log: 2012-02-14 Richard Guenther PR lto/52

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #21 from Eric Botcazou 2012-02-13 17:06:44 UTC --- > Yeah. I'm now getting further with Ada LTO bootstrap, but hit an ICE > during optimization: > > /space/rguenther/src/svn/trunk/gcc/ada/sem_prag.adb: In function > 'sem_prag__analy

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #20 from Richard Guenther 2012-02-13 14:43:47 UTC --- (In reply to comment #19) > > Which should avoid the issue. But I suppose that variably_modified_type_p > > wrongly checks > > > > if (TREE_CODE (type) == QUAL_UNION_

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #19 from Eric Botcazou 2012-02-13 14:21:57 UTC --- > Which should avoid the issue. But I suppose that variably_modified_type_p > wrongly checks > > if (TREE_CODE (type) == QUAL_UNION_TYPE) > RETURN_TRUE_IF_

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #18 from rguenther at suse dot de 2012-02-13 14:18:58 UTC --- On Mon, 13 Feb 2012, ebotcazou at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 > > Eric Botcazou changed: > >What|Removed

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #17 from rguenther at suse dot de 2012-02-13 14:13:39 UTC --- On Mon, 13 Feb 2012, Richard Guenther wrote: > On Mon, 13 Feb 2012, ebotcazou at gcc dot gnu.org wrote: > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 > > > > -

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #15 from rguenther at suse dot de 2012-02-13 14:03:27 UTC --- On Mon, 13 Feb 2012, ebotcazou at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 > > --- Comment #14 from Eric Botcazou 2012-02-13 > 13:55:4

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #14 from Eric Botcazou 2012-02-13 13:55:47 UTC --- > Or, alternatively - should DECL_QUALIFIER matter at all after gimplification? No, it shouldn't. > Can we simply not stream it (thus, have a NULL_TREE DECL_QUALIFIER in WPA > and L

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #13 from Eric Botcazou 2012-02-13 13:54:31 UTC --- > Should PLACEHOLDER_EXPRs even survive gimplification? I see tree.c says > if they survive until expand we'll ICE - but that comment is probably from > before gimple/SSA times. Yes

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #12 from Eric Botcazou 2012-02-13 13:53:01 UTC --- > Still they are refered to globally. I'm refering to > atree__atree_private_part__node_record___is_extension___XVN > (it doesn't have any TYPE_CONTEXT though, and its TYPE_SIZE is a

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #11 from Richard Guenther 2012-02-13 13:44:44 UTC --- Or, alternatively - should DECL_QUALIFIER matter at all after gimplification? Can we simply not stream it (thus, have a NULL_TREE DECL_QUALIFIER in WPA and LTRANS stage)?

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #10 from Richard Guenther 2012-02-13 13:42:49 UTC --- Should PLACEHOLDER_EXPRs even survive gimplification? I see tree.c says if they survive until expand we'll ICE - but that comment is probably from before gimple/SSA times.

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #9 from Richard Guenther 2012-02-13 13:29:38 UTC --- Ok, the issue is that we end up with using a type streamed into the function sections - those are assumed to not need participating in merging and thus we never merge them, even can

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #8 from Eric Botcazou 2012-02-13 12:39:06 UTC --- > I see. I came up with the following, but it's unlikely to make a > difference either Thanks, I'll give it a try. While Ada doesn't use METHOD_TYPE, it extensively uses type attrib

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #7 from rguenther at suse dot de 2012-02-13 12:29:36 UTC --- On Mon, 13 Feb 2012, ebotcazou at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 > > --- Comment #6 from Eric Botcazou 2012-02-13 > 12:17:46

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #6 from Eric Botcazou 2012-02-13 12:17:46 UTC --- > Sth I'm not very familiar is the QUAL_UNION record kinds - maybe you > can eye the two merging machineries for obvious errors here? I did, and only came up with the following no-op

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #5 from rguenther at suse dot de 2012-02-13 11:57:43 UTC --- On Mon, 13 Feb 2012, ebotcazou at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 > > --- Comment #4 from Eric Botcazou 2012-02-13 > 11:53:38

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #4 from Eric Botcazou 2012-02-13 11:53:38 UTC --- > Merging happens at WPA time, it happens again at LTRANS but that is an > implementation artifact (it should not be necessary to merge again). OK. > Ok, this sounds like it is a rea

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 Richard Guenther changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-10 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 --- Comment #2 from Eric Botcazou 2012-02-10 17:51:19 UTC --- > I don't understand this sentence completely - if the types have been merged > then the COMPONENT_REFs should have been updated, too (do they only have > "weak" matched types at the p

[Bug lto/52178] [4.7 regression] Ada bootstrap failure in LTO mode

2012-02-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52178 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.7.0 --- Comment #1 from Richard Guen