On Wed, Apr 27, 2011 at 5:16 AM, Jan Hubicka <hubi...@ucw.cz> wrote:
> Hi,
> I don't really have testcase for the HP nor AIX ICE, however I can reproduce 
> same ICE when I hack x86 to
> not use ctors/dtors.  This patch fixes it - the problem is that ipa-prop 
> ignore newly added functions
> (the global ctor built) while ipa-inline not and ipa-inline does use ipa-prop 
> for its analysis.
> Fixed by adding the corresponding hook to ipa-prop, regstested&bootstrapped 
> x86_64-linux with the
> hack and comitted.  Let me know if it fixes your problem or not.
>
> Honza
>
>        * ipa-prop.c (function_insertion_hook_holder): New holder.
>        (ipa_add_new_function): New function.
>        (ipa_register_cgraph_hooks, ipa_unregister_cgraph_hooks): 
> Register/deregister
>        holder.

This may have caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48791


-- 
H.J.

Reply via email to