Hi,
On Fri, Dec 16, 2016 at 02:31:48PM +0100, Jakub Jelinek wrote:
> Suggestions how to test that IPA-SRA and IPA-PTA aren't happening?
> Anything else we need to cover?
>
I would use some test from gcc/testsuite/gcc.dg/ipa/ipa-sra-*.c, add
the attribute and negate the scan-dump test.
Martin
On Fri, Dec 16, 2016 at 10:47:34AM +0100, Richard Biener wrote:
> On Thu, 15 Dec 2016, Florian Weimer wrote:
>
> > * Jakub Jelinek:
> >
> > > + if (lookup_attribute ("used", attributes) == NULL)
> > > + attributes = tree_cons (get_identifier ("used"), NULL, attributes);
> >
> > Attribute
On Thu, 15 Dec 2016, Florian Weimer wrote:
> * Jakub Jelinek:
>
> > + if (lookup_attribute ("used", attributes) == NULL)
> > + attributes = tree_cons (get_identifier ("used"), NULL, attributes);
>
> Attribute “used” seems different to me from the rest. Based on the
> documentation, I
On Thu, Dec 15, 2016 at 10:10:31PM +0100, Jan Hubicka wrote:
> > So here is a proof of concept of an attribute that disables inlining,
> > cloning, ICF, IPA VRP, IPA bit CCP, IPA RA, pure/const/throw discovery.
> > Does it look reasonable? Anything still missing?
>
> I think you also want to
* Alexander Monakov:
> 2. Can we gently suggest to readers of documentation that this was
> invented for use in the GCC testsuite, and encourage them to seek
> proper alternatives, e.g.:
>
> This attribute is exposed for the purpose of testing the compiler.
> In general it should be
> Hi!
>
> So here is a proof of concept of an attribute that disables inlining,
> cloning, ICF, IPA VRP, IPA bit CCP, IPA RA, pure/const/throw discovery.
> Does it look reasonable? Anything still missing?
I think you also want to disable optimizations we do about local functions
(stack
* Jakub Jelinek:
> On Thu, Dec 15, 2016 at 07:11:09PM +0100, Florian Weimer wrote:
>> * Jakub Jelinek:
>>
>> > + if (lookup_attribute ("used", attributes) == NULL)
>> > + attributes = tree_cons (get_identifier ("used"), NULL, attributes);
>>
>> Attribute “used” seems different to me from
On Thu, Dec 15, 2016 at 07:11:09PM +0100, Florian Weimer wrote:
> * Jakub Jelinek:
>
> > + if (lookup_attribute ("used", attributes) == NULL)
> > + attributes = tree_cons (get_identifier ("used"), NULL, attributes);
>
> Attribute “used” seems different to me from the rest. Based on the
* Jakub Jelinek:
> + if (lookup_attribute ("used", attributes) == NULL)
> + attributes = tree_cons (get_identifier ("used"), NULL, attributes);
Attribute “used” seems different to me from the rest. Based on the
documentation, I wouldn't expect it to have any action-at-a-distance
On Thu, 15 Dec 2016, Jakub Jelinek wrote:
> So here is a proof of concept of an attribute that disables inlining,
> cloning, ICF, IPA VRP, IPA bit CCP, IPA RA, pure/const/throw discovery.
> Does it look reasonable? Anything still missing?
I'd like to suggest some additions to the extend.texi
Hi!
So here is a proof of concept of an attribute that disables inlining,
cloning, ICF, IPA VRP, IPA bit CCP, IPA RA, pure/const/throw discovery.
Does it look reasonable? Anything still missing?
No testsuite coverage yet, I bet we'd want to check for all those opts and
see that they aren't
11 matches
Mail list logo