]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/gimple-expr.c
Remove Java references in source code.
[thirdparty/gcc.git] / gcc / gimple-expr.c
index 9d8034c31921976cb2bcca5738d2b481ce74442f..13e55ef55fe6adcab0ec8db1058418219e8306d7 100644 (file)
@@ -388,14 +388,14 @@ copy_var_decl (tree var, tree name, tree type)
 /* Strip off a legitimate source ending from the input string NAME of
    length LEN.  Rather than having to know the names used by all of
    our front ends, we strip off an ending of a period followed by
-   up to five characters.  (Java uses ".class".)  */
+   up to four characters.  (like ".cpp".)  */
 
 static inline void
 remove_suffix (char *name, int len)
 {
   int i;
 
-  for (i = 2;  i < 8 && len > i;  i++)
+  for (i = 2;  i < 7 && len > i;  i++)
     {
       if (name[len - i] == '.')
        {