From: Tom de Vries <vries@codesourcery.com>
To: Richard Guenther <richard.guenther@gmail.com>
Cc: Arnaud Charlet <charlet@adacore.com>,
Tom de Vries <tom@codesourcery.com>,
Iain Sandoe <developer@sandoe-acoustics.co.uk>,
"Joseph S. Myers" <joseph@codesourcery.com>,
Eric Botcazou <botcazou@adacore.com>,
Olivier Hainque <hainque@adacore.com>,
gcc-patches@gcc.gnu.org
Subject: Re: [Ada] Implementation of aspects within generic units
Date: Thu, 01 Sep 2011 11:03:00 -0000 [thread overview]
Message-ID: <4E5F6625.7030904@codesourcery.com> (raw)
In-Reply-To: <CAFiYyc1VkmrUckAR5GzBg5hzAjF9sHeEK3beTjXLwZ--duAVNQ@mail.gmail.com>
On 09/01/2011 12:33 PM, Richard Guenther wrote:
> On Thu, Sep 1, 2011 at 11:34 AM, Arnaud Charlet <charlet@adacore.com> wrote:
>> After doing a binary search, the first revision which breaks bootstrap on
>> my environment with Ada enabled is the following:
>>
>> r178353 | vries | 2011-08-31 09:04:25 +0200 (Wed, 31 Aug 2011) | 8 lines
>>
>> 2011-08-31 Tom de Vries <tom@codesourcery.com>
>>
>> PR middle-end/43513
>> * Makefile.in (tree-ssa-ccp.o): Add $(PARAMS_H) to rule.
>> * tree-ssa-ccp.c (params.h): Include.
>> (fold_builtin_alloca_for_var): New function.
>> (ccp_fold_stmt): Use fold_builtin_alloca_for_var.
>>
>> Which makes sense, since Ada uses alloca a lot, much more than other languages.
>>
>> In other words, none of the changes in the Ada repository is reponsible for
>> this regression.
>>
>> So Tom and/or Richard, could you please have a look at this regression? TIA.
>
> Probably worth checking
>
> Index: gcc/tree-ssa-ccp.c
> ===================================================================
> --- gcc/tree-ssa-ccp.c (revision 178394)
> +++ gcc/tree-ssa-ccp.c (working copy)
> @@ -1714,7 +1714,7 @@ fold_builtin_alloca_for_var (gimple stmt
> block = gimple_block (stmt);
> if (!(cfun->after_inlining
> && TREE_CODE (BLOCK_SUPERCONTEXT (block)) == FUNCTION_DECL))
> - threshold /= 10;
> + return NULL_TREE;
> if (size > threshold)
> return NULL_TREE;
>
> should be reproducable with low stack ulimit.
>
> Richard.
>
>> Arno
>>
I'm doing an ada bootstrap now, trying to reproduce this. My apologies for this
breakage.
Thanks,
- Tom
next prev parent reply other threads:[~2011-09-01 11:03 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-31 12:32 Arnaud Charlet
2011-08-31 12:47 ` Richard Guenther
2011-08-31 15:08 ` Arnaud Charlet
2011-08-31 16:16 ` Richard Guenther
2011-08-31 16:35 ` Arnaud Charlet
2011-08-31 17:27 ` Joseph S. Myers
2011-08-31 17:40 ` Arnaud Charlet
2011-08-31 17:47 ` Iain Sandoe
2011-08-31 18:09 ` Arnaud Charlet
2011-08-31 21:10 ` Iain Sandoe
2011-08-31 21:39 ` Iain Sandoe
2011-09-01 6:54 ` Iain Sandoe
2011-09-01 7:06 ` Richard Guenther
2011-09-01 7:15 ` Arnaud Charlet
2011-09-01 7:54 ` Arnaud Charlet
2011-09-01 8:01 ` Richard Guenther
2011-09-01 9:35 ` Arnaud Charlet
2011-09-01 10:34 ` Richard Guenther
2011-09-01 11:03 ` Tom de Vries [this message]
2011-08-31 17:44 ` Iain Sandoe
2011-09-01 10:11 Dominique Dhumieres
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E5F6625.7030904@codesourcery.com \
--to=vries@codesourcery.com \
--cc=botcazou@adacore.com \
--cc=charlet@adacore.com \
--cc=developer@sandoe-acoustics.co.uk \
--cc=gcc-patches@gcc.gnu.org \
--cc=hainque@adacore.com \
--cc=joseph@codesourcery.com \
--cc=richard.guenther@gmail.com \
--cc=tom@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).