This is the mail archive of the
mailing list for the GCC project.
Re: [lto] PATCH: Add support for referencing types from function bodies
Richard Kenner wrote:
Fundamentally, all a CONST_DECL gives you is a name for a constant.
But, there's no advantage to having names when optimizing; you might as
well just use the constant.
And I'd argue that CONST_DECL therefore shouldn't survive into the
middle-end; it should be replaced by the underlying constant by fold and/or
That's exactly what I argued, so we agree.
(650) 331-3385 x713