On 10/31/11 13:54, Patrick Marlier wrote:
This fixes the g++ pr45940-4 failure. I think it is due to the latest
merge.

Tested on i686. (I cannot test it yet on x86-64, I hope to get access to
a 64 bit soon...)

Patrick.

2011-10-31 Patrick Marlier <patrick.marl...@gmail.com>
* ipa-inline.c: Adjust how cannot_inline is set.


Heh, funny... I have the exact same patch on this end. But it doesn't completely fix the pr45940-4, cause now I get a segfault here:

          if (is_gimple_call (stmt))
            {
              struct cgraph_edge *edge = cgraph_edge (node, stmt);
              struct inline_edge_summary *es = inline_edge_summary (edge);

              /* Special case: results of BUILT_IN_CONSTANT_P will be always
                 resolved as constant.  We however don't want to optimize
                 out the cgraph edges.  */

The edge isn't set. I don't know if this is related or not. I'm investigating.

BTW, are you sure it fixes the regression? I still get this other segfault on both x86-32 and x86-64.

Reply via email to