/usr/src/gcc-5/debian/patches/disable-gdc-tests.diff is in gcc-5-source 5.5.0-12ubuntu1.
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 | # DP: Disable D tests, hang on many buildds
Index: b/src/gcc/d/Make-lang.in
===================================================================
--- a/src/gcc/d/Make-lang.in
+++ b/src/gcc/d/Make-lang.in
@@ -284,6 +284,6 @@ d.stagefeedback: stagefeedback-start
# check targets. However, our DejaGNU framework requires 'check-gdc' as its
# entry point. We feed the former to the latter here.
check-d: check-gdc
-lang_checks += check-gdc
-lang_checks_parallelized += check-gdc
-check_gdc_parallelize = 10
+#lang_checks += check-gdc
+#lang_checks_parallelized += check-gdc
+#check_gdc_parallelize = 10
|