OSDN Git Service

* params.def (PARAM_INLINE_UNIT_GROWTH): Set to 30.
[pf3gnuchains/gcc-fork.git] / gcc / c-incpath.c
index 2c5ac6d..fe863d5 100644 (file)
@@ -164,13 +164,12 @@ add_standard_paths (const char *sysroot, const char *iprefix,
          /* Should this directory start with the sysroot?  */
          if (sysroot && p->add_sysroot)
            str = concat (sysroot, p->fname, NULL);
-         else if (!p->add_sysroot && relocated)
+         else if (!p->add_sysroot && relocated
+                  && strncmp (p->fname, cpp_PREFIX, cpp_PREFIX_len) == 0)
            {
              /* If the compiler is relocated, and this is a configured 
                 prefix relative path, then we use gcc_exec_prefix instead 
                 of the configured prefix.  */
-             gcc_assert (strncmp (p->fname, cpp_PREFIX,
-                                    cpp_PREFIX_len) == 0);
              str = concat (gcc_exec_prefix, p->fname
                              + cpp_PREFIX_len, NULL);
              str = update_path (str, p->component);