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 middle-end/41730] ICE with -flto -fwhole-program



------- Comment #2 from hubicka at ucw dot cz  2009-10-22 00:29 -------
Subject: Re:   New: ICE with -flto -fwhole-program

The problem here is that ipa-pure-const skips analysis of overwrittable
nodes.  But with LTO and whole program the nodes might look
overwrittable at compile time, but at link time we want to use their
analysis.  Additionally we assume that function without bodies are
opaque that is not true too, so in fact we are limitting the pass to
single file only.

Same problem is with the other ipa-* passes, I am testing patch for this
pass and looking into others.

Honza


-- 


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


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