[Bug middle-end/45579] Re-enable IPA-CP for "fn spec"

2013-06-25 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45579

Bug 45579 depends on bug 43665, which changed state.

Bug 43665 Summary: INTENT(IN) etc. optimization of calls: function annotations 
for noclobber/noescape arguments
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43665

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED


[Bug middle-end/45579] Re-enable IPA-CP for "fn spec"

2012-03-26 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45579

Martin Jambor  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #4 from Martin Jambor  2012-03-26 
15:55:04 UTC ---
Fixed with the new IPA-CP.


[Bug middle-end/45579] Re-enable IPA-CP for "fn spec"

2012-03-19 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45579

Martin Jambor  changed:

   What|Removed |Added

 CC||jamborm at gcc dot gnu.org

--- Comment #3 from Martin Jambor  2012-03-19 
18:00:58 UTC ---
Confirmed as recently as this February?  How can that be?  I have just
checked that the testcase from PR 43665, comment #8 and verified the
checkoptimal subroutine is cloned and constants are propagated into
it, despite it having fnspec type attributes.  If you have a testcase
where you believe fnspec attributes are the reason for not performing
IPA-CP, then please post it here, I'd certainly like to have a look.

Having said that, it is certainly true that the new IPA-CP accomplish
this by simply not deleting the newly-unused parameters, whereas
arguably it should update the fnspec attributes instead.  If you think
that is something we should have a PR for, please change the
description accordingly, or open a new PR.

Otherwise I'll close this next week as a WORKSFORME.

(On a related and personal note, I dislike the representation of the
fnspec attributes very much, I think we should move it to the actual
parm_decls or to the call graph or someplace, updating a string_cst
just feels like a work-around.)


[Bug middle-end/45579] Re-enable IPA-CP for "fn spec"

2012-03-16 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45579

Steven Bosscher  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||steven at gcc dot gnu.org


[Bug middle-end/45579] Re-enable IPA-CP for "fn spec"

2012-02-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45579

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2012-02-02
 Ever Confirmed|0   |1

--- Comment #2 from Andrew Pinski  2012-02-02 
20:46:36 UTC ---
Confirmed.


[Bug middle-end/45579] Re-enable IPA-CP for "fn spec"

2011-05-12 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45579

Jan Hubicka  changed:

   What|Removed |Added

 CC||hubicka at gcc dot gnu.org

--- Comment #1 from Jan Hubicka  2011-05-12 
15:35:08 UTC ---
Hmm, it should be fairly trivial to update cgraph virtual cloning code to
actually handle those attributes...