This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/27882] [4.2 regression] segfault in ipa-inline.c, if (e->callee->local.disregard_inline_limits



------- Comment #12 from pinskia at gcc dot gnu dot org  2006-06-07 06:00 -------
Wait in tree-inline.c, we do:
  /* Update callgraph if needed.  */
  cgraph_remove_node (cg_edge->callee);

Isn't that wrong as we could inline the callee a couple of times?
Don't we want to do:
  /* Update callgraph if needed.  */
  cgraph_remove_edge (cg_edge);

???


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]