On Tue, Apr 28, 2009 at 10:50:52AM -0700, Shobaki, Ghassan wrote: > In some optimization passes it may be useful to know the programming > language that we are compiling. Is there a way to get that information > in the middle end and back end?
Is that really a good idea? If a particular optimization, on the same middle-end structure, is valid in one language and not in another, that would suggest a problem with the implementation.