This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Checking for the Programming Language inside GCC
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: "Shobaki, Ghassan" <Ghassan dot Shobaki at amd dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 28 Apr 2009 22:50:56 +0200
- Subject: Re: Checking for the Programming Language inside GCC
- References: <912DA18E911D8B418824641EF1541F3C0D5AFC@ssvlexmb2.amd.com>
On Tue, Apr 28, 2009 at 7:50 PM, Shobaki, Ghassan
<Ghassan.Shobaki@amd.com> wrote:
> Hi,
>
> 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?
There is no way that should be used in new code.
Richard.