This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] PATCH: fill in code to merge declarations
But, I'm not sure why re-gimplification is a problem, per se. GIMPLE is
presumably already valid GIMPLE, so the gimplifier should presumably
leave it intact. Are you just concerned about the wasted time, or do is
there a correctness problem with re-gimplifying?
There is no correctness problem for the near term goal you are trying
to achieve (inlining one simple function into another).
There is certainly a correctness problem on more complex code (EH will
fail miserably, etc).
Of course, as a long term strategy, regimplifying is a bad idea, which
i'm sure you know, blah blah blah
--Dan