From ee8acf894eb94eaf79f1c8a5550c44cb1a76a595 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 19 Dec 2002 12:34:43 -0800 Subject: This was approved for 3.4 BIB branch. This was approved for 3.4 BIB branch. But since it is dead now, I am putting this in mainline sources. 2002-12-19 Devang Patel * gcc.c (struct default_compiler): Recognizes input file name with .CPP extension as C++ source files * cp/lang-spec.h: Same * doc/invoke.texi: Add documentation for .CPP support. From-SVN: r60330 --- gcc/gcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/gcc.c') diff --git a/gcc/gcc.c b/gcc/gcc.c index 85f792b..618d272 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -886,7 +886,7 @@ static const struct compiler default_compilers[] = {".m", "#Objective-C", 0}, {".mi", "#Objective-C", 0}, {".cc", "#C++", 0}, {".cxx", "#C++", 0}, {".cpp", "#C++", 0}, {".cp", "#C++", 0}, {".c++", "#C++", 0}, {".C", "#C++", 0}, - {".ii", "#C++", 0}, + {".CPP", "#C++", 0}, {".ii", "#C++", 0}, {".ads", "#Ada", 0}, {".adb", "#Ada", 0}, {".f", "#Fortran", 0}, {".for", "#Fortran", 0}, {".fpp", "#Fortran", 0}, {".F", "#Fortran", 0}, {".FOR", "#Fortran", 0}, {".FPP", "#Fortran", 0}, -- cgit v1.1