This file is indexed.

/usr/src/gcc-4.6/debian/patches/gcc-ice-apport.diff is in gcc-4.6-source 4.6.4-6ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# DP: Report an ICE to apport (if apport is available
# DP: and the environment variable GCC_NOAPPORT is not set)

--- a/src/gcc/gcc.c
+++ b/src/gcc/gcc.c
@@ -6106,6 +6106,16 @@
 	      fnotice (stderr, "Preprocessed source stored into %s file,"
 			       " please attach this to your bugreport.\n",
 		       temp_filenames[attempt * 2]);
+	      if (!getenv ("GCC_NOAPPORT")
+		  && !access ("/usr/share/apport/gcc_ice_hook", R_OK | X_OK))
+		{
+		  char *cmd = XNEWVEC (char, 50 + strlen (temp_filenames[attempt * 2])
+				             + strlen (new_argv[0]));
+		  sprintf (cmd, "/usr/share/apport/gcc_ice_hook %s %s",
+			   new_argv[0], temp_filenames[attempt * 2]);
+		  system (cmd);
+		  free (cmd);
+		}
 	      /* Make sure it is not deleted.  */
 	      free (temp_filenames[attempt * 2]);
 	      temp_filenames[attempt * 2] = NULL;