⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gcc-4.0.2-vs.patch.svn-base

📁 PSP开发环境(Linux) 包含PSPLINK 请自行选择需要安装的库及源代码
💻 SVN-BASE
📖 第 1 页 / 共 3 页
字号:
 	case DEFINE_PEEPHOLE2:-	  printf ("/* %s:%d */\n", read_rtx_filename, line_no);+	  printf ("/* %s(%d)  */\n", read_rtx_filename, line_no); 	  gen_split (desc); 	  break; diff -burN gcc-4.0.2-orig/gcc/gengtype.c gcc-4.0.2-patch/gcc/gengtype.c--- gcc-4.0.2-orig/gcc/gengtype.c	2005-02-24 09:16:07.000000000 +1100+++ gcc-4.0.2-patch/gcc/gengtype.c	2006-11-24 19:15:45.870787200 +1100@@ -43,7 +43,7 @@    va_start (ap, msg); -  fprintf (stderr, "%s:%d: ", pos->file, pos->line);+  fprintf (stderr, "%s(%d) : ", pos->file, pos->line);   vfprintf (stderr, msg, ap);   fputc ('\n', stderr);   hit_error = 1;@@ -1829,7 +1829,7 @@ 		     && f->type->kind == TYPE_SCALAR) 	      { 		fprintf (stderr,-	"%s:%d: warning: field `%s' is missing `tag' or `default' option\n",+	"%s(%d) : warning: field `%s' is missing `tag' or `default' option\n", 			 d->line->file, d->line->line, f->name); 		continue; 	      }diff -burN gcc-4.0.2-orig/gcc/genmodes.c gcc-4.0.2-patch/gcc/genmodes.c--- gcc-4.0.2-orig/gcc/genmodes.c	2004-10-16 00:47:07.000000000 +1000+++ gcc-4.0.2-patch/gcc/genmodes.c	2006-11-24 19:15:45.940888000 +1100@@ -149,9 +149,9 @@   m = find_mode (name);   if (m)     {-      error ("%s:%d: duplicate definition of mode \"%s\"",+      error ("%s(%d) : duplicate definition of mode \"%s\"", 	     trim_filename (file), line, name);-      error ("%s:%d: previous definition here", m->file, m->line);+      error ("%s(%d) : previous definition here", m->file, m->line);       return m;     } @@ -206,13 +206,13 @@    if (!mode)     {-      error ("%s:%d: no mode \"%s\"", file, line, name);+      error ("%s(%d) : no mode \"%s\"", file, line, name);       return;     }    if (required_class != MODE_RANDOM && mode->cl != required_class)     {-      error ("%s:%d: mode \"%s\" is not class %s",+      error ("%s(%d) : mode \"%s\" is not class %s", 	     file, line, name, mode_class_names[required_class] + 5);       return;     }@@ -220,9 +220,9 @@   for (a = *category; a; a = a->next)     if (a->mode == mode)       {-	error ("%s:%d: mode \"%s\" already has a %s adjustment",+	error ("%s(%d) : mode \"%s\" already has a %s adjustment", 	       file, line, name, catname);-	error ("%s:%d: previous adjustment here", a->file, a->line);+	error ("%s(%d) : previous adjustment here", a->file, a->line); 	return;       } @@ -245,12 +245,12 @@     {									\     case SET:								\       if (val == unset)							\-	error ("%s:%d: (%s) field %s must be set",			\+	error ("%s(%d) : (%s) field %s must be set",			\ 	       file, line, mname, fname);				\       break;								\     case UNSET:								\       if (val != unset)							\-	error ("%s:%d: (%s) field %s must not be set",			\+	error ("%s(%d) : (%s) field %s must not be set",			\ 	       file, line, mname, fname);				\     case OPTIONAL:							\       break;								\@@ -286,12 +286,12 @@    if (!m->name)     {-      error ("%s:%d: mode with no name", m->file, m->line);+      error ("%s(%d) : mode with no name", m->file, m->line);       return;     }   if (m->cl == MAX_MODE_CLASS)     {-      error ("%s:%d: %smode has no mode class", m->file, m->line, m->name);+      error ("%s(%d) : %smode has no mode class", m->file, m->line, m->name);       return;     } @@ -418,7 +418,7 @@        if (strlen (m->name) >= sizeof buf) 	{-	  error ("%s:%d:mode name \"%s\" is too long",+	  error ("%s(%d) :mode name \"%s\" is too long", 		 m->file, m->line, m->name); 	  continue; 	}@@ -433,7 +433,7 @@ 	  p = strchr (buf, 'F'); 	  if (p == 0) 	    {-	      error ("%s:%d: float mode \"%s\" has no 'F'",+	      error ("%s(%d) : float mode \"%s\" has no 'F'", 		     m->file, m->line, m->name); 	      continue; 	    }@@ -485,7 +485,7 @@       if ((size_t)snprintf (buf, sizeof buf, "V%u%s", ncomponents, m->name) 	  >= sizeof buf) 	{-	  error ("%s:%d: mode name \"%s\" is too long",+	  error ("%s(%d) : mode name \"%s\" is too long", 		 m->file, m->line, m->name); 	  continue; 	}@@ -548,12 +548,12 @@   struct mode_data *m = find_mode (name);   if (!m)     {-      error ("%s:%d: no mode \"%s\"", file, line, name);+      error ("%s(%d) : no mode \"%s\"", file, line, name);       return;     }   if (m->cl != MODE_FLOAT)     {-      error ("%s:%d: mode \"%s\" is not class FLOAT", file, line, name);+      error ("%s(%d) : mode \"%s\" is not class FLOAT", file, line, name);       return;     }   m->format = format;@@ -572,12 +572,12 @@   struct mode_data *component = find_mode (base);   if (!component)     {-      error ("%s:%d: no mode \"%s\"", file, line, name);+      error ("%s(%d) : no mode \"%s\"", file, line, name);       return;     }   if (component->cl != MODE_INT)     {-      error ("%s:%d: mode \"%s\" is not class INT", file, line, name);+      error ("%s(%d) : mode \"%s\" is not class INT", file, line, name);       return;     } @@ -605,12 +605,12 @@     return;   if (component == 0)     {-      error ("%s:%d: no mode \"%s\"", file, line, base);+      error ("%s(%d) : no mode \"%s\"", file, line, base);       return;     }   if (component->cl != bclass)     {-      error ("%s:%d: mode \"%s\" is not class %s",+      error ("%s(%d) : mode \"%s\" is not class %s", 	     file, line, base, mode_class_names[bclass] + 5);       return;     }@@ -618,7 +618,7 @@   if ((size_t)snprintf (namebuf, sizeof namebuf, "V%u%s", 			ncomponents, base) >= sizeof namebuf)     {-      error ("%s:%d: mode name \"%s\" is too long",+      error ("%s(%d) : mode name \"%s\" is too long", 	     base, file, line);       return;     }@@ -785,7 +785,7 @@       { 	int count_; 	printf ("  %smode,%n", m->name, &count_);-	printf ("%*s/* %s:%d */\n", 27 - count_, "",+	printf ("%*s/* %s(%d)  */\n", 27 - count_, "", 		 trim_filename (m->file), m->line);       } @@ -1076,7 +1076,7 @@      A size adjustment forces us to recalculate the alignment too.  */   for (a = adj_bytesize; a; a = a->next)     {-      printf ("\n  /* %s:%d */\n  s = %s;\n",+      printf ("\n  /* %s(%d)  */\n  s = %s;\n", 	      a->file, a->line, a->adjustment);       printf ("  mode_size[%smode] = s;\n", a->mode->name);       printf ("  mode_base_align[%smode] = s & (~s + 1);\n",@@ -1114,7 +1114,7 @@      ??? This may not be the right thing for vector modes.  */   for (a = adj_alignment; a; a = a->next)     {-      printf ("\n  /* %s:%d */\n  s = %s;\n",+      printf ("\n  /* %s(%d)  */\n  s = %s;\n", 	      a->file, a->line, a->adjustment);       printf ("  mode_base_align[%smode] = s;\n", a->mode->name); @@ -1144,7 +1144,7 @@          /* Real mode formats don't have to propagate anywhere.  */   for (a = adj_format; a; a = a->next)-    printf ("\n  /* %s:%d */\n  REAL_MODE_FORMAT (%smode) = %s;\n",+    printf ("\n  /* %s(%d)  */\n  REAL_MODE_FORMAT (%smode) = %s;\n", 	    a->file, a->line, a->mode->name, a->adjustment);    puts ("}");diff -burN gcc-4.0.2-orig/gcc/genoutput.c gcc-4.0.2-patch/gcc/genoutput.c--- gcc-4.0.2-orig/gcc/genoutput.c	2004-09-09 23:22:34.000000000 +1000+++ gcc-4.0.2-patch/gcc/genoutput.c	2006-11-24 19:15:46.010988800 +1100@@ -292,7 +292,7 @@    for (d = idata; d; d = d->next)     {-      printf ("  /* %s:%d */\n", d->filename, d->lineno);+      printf ("  /* %s(%d)  */\n", d->filename, d->lineno);       printf ("  {\n");        if (d->name)diff -burN gcc-4.0.2-orig/gcc/gensupport.c gcc-4.0.2-patch/gcc/gensupport.c--- gcc-4.0.2-orig/gcc/gensupport.c	2005-04-26 10:30:16.000000000 +1000+++ gcc-4.0.2-patch/gcc/gensupport.c	2006-11-24 19:15:46.111132800 +1100@@ -126,7 +126,7 @@    va_start (ap, msg); -  fprintf (stderr, "%s:%d: ", read_rtx_filename, lineno);+  fprintf (stderr, "%s(%d) : ", read_rtx_filename, lineno);   vfprintf (stderr, msg, ap);   fputc ('\n', stderr); diff -burN gcc-4.0.2-orig/gcc/ggc-common.c gcc-4.0.2-patch/gcc/ggc-common.c--- gcc-4.0.2-orig/gcc/ggc-common.c	2004-09-13 06:14:23.000000000 +1000+++ gcc-4.0.2-patch/gcc/ggc-common.c	2006-11-25 15:17:01.257119200 +1100@@ -968,7 +968,7 @@ 	  const char *s2; 	  while ((s2 = strstr (s1, "gcc/"))) 	    s1 = s2 + 4;-	  sprintf (s, "%s:%i (%s)", s1, d->line, d->function);+	  sprintf (s, "%s(%i) (%s)", s1, d->line, d->function); 	  s[48] = 0; 	  fprintf (stderr, "%-48s %10li:%4.1f%% %10li:%4.1f%% %10li:%4.1f%% %10li:%4.1f%% %10li\n", s, 		   (long)d->collected,diff -burN gcc-4.0.2-orig/gcc/java/class.c gcc-4.0.2-patch/gcc/java/class.c--- gcc-4.0.2-orig/gcc/java/class.c	2005-08-18 08:08:15.000000000 +1000+++ gcc-4.0.2-patch/gcc/java/class.c	2006-11-24 19:16:17.255916800 +1100@@ -2110,7 +2110,7 @@ 	   current = TREE_CHAIN (current)) 	{ 	  tree decl = TYPE_NAME (TREE_PURPOSE (current));-	  sprintf (buffer, "\n  which inherits from '%s' (%s:%d)",+	  sprintf (buffer, "\n  which inherits from '%s' (%s(%d) )", 		   IDENTIFIER_POINTER (DECL_NAME (decl)), 		   DECL_SOURCE_FILE (decl), 		   DECL_SOURCE_LINE (decl));diff -burN gcc-4.0.2-orig/gcc/java/jv-scan.c gcc-4.0.2-patch/gcc/java/jv-scan.c--- gcc-4.0.2-orig/gcc/java/jv-scan.c	2005-06-07 05:20:58.000000000 +1000+++ gcc-4.0.2-patch/gcc/java/jv-scan.c	2006-11-24 19:16:17.326017600 +1100@@ -274,5 +274,5 @@ void fancy_abort (const char *file, int line, const char *func) {-  fatal_error ("abort in %s, at %s:%d", func, file, line);+  fatal_error ("abort in %s, at %s(%d) ", func, file, line); }diff -burN gcc-4.0.2-orig/gcc/java/parse.c gcc-4.0.2-patch/gcc/java/parse.c--- gcc-4.0.2-orig/gcc/java/parse.c	2005-09-28 16:21:18.000000000 +1000+++ gcc-4.0.2-patch/gcc/java/parse.c	2006-11-24 19:16:17.506276800 +1100@@ -7033,7 +7033,7 @@ static void classitf_redefinition_error (const char *context, tree id, tree decl, tree cl) {-  parse_error_context (cl, "%s %qs already defined in %s:%d",+  parse_error_context (cl, "%s %qs already defined in %s(%d) ", 		       context, IDENTIFIER_POINTER (id), 		       DECL_SOURCE_FILE (decl), DECL_SOURCE_LINE (decl));   /* Here we should point out where its redefined. It's a unicode. FIXME */@@ -8062,7 +8062,7 @@ 			  IDENTIFIER_POINTER (TYPE_NAME (TREE_TYPE (decl))) : 			  lang_printable_name (TREE_TYPE (decl), 1)));       parse_error_context-	(cl, "Duplicate variable declaration: %<%s %s%> was %<%s %s%> (%s:%d)",

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -