summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-19 20:34:43 +0000
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-19 20:34:43 +0000
commit72381a64630f6002024b62ebcefb0b2a386e01fd (patch)
tree3f72fd389ccdba5583a6a5afbd3265d8546fbccc /gcc/gcc.c
parent927f1f0cc9a58f86297d6aea6c7c2952ce9be48e (diff)
downloadgcc-72381a64630f6002024b62ebcefb0b2a386e01fd.tar.gz
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 <dpatel@apple.com> * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60330 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 85f792b6786..618d2723208 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},