From c9bf18a52adba16e0e9174a95a0f710085d95110 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 4 Jan 1993 01:38:18 +0000 Subject: (main): Recognize and remove .cxx as filename suffix. From-SVN: r3078 --- gcc/cccp.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc') diff --git a/gcc/cccp.c b/gcc/cccp.c index 27c35aa..adfdb81 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -1692,6 +1692,11 @@ main (argc, argv) && p[len - 2] == 'c' && p[len - 1] == 'c') deps_output (p, len - 3); + else if (p[len - 4] == '.' + && p[len - 3] == 'c' + && p[len - 2] == 'x' + && p[len - 1] == 'x') + deps_output (p, len - 4); else if (p[len - 2] == '.' && p[len - 1] == 's') deps_output (p, len - 2); else if (p[len - 2] == '.' && p[len - 1] == 'S') -- cgit v1.1