This file is indexed.

/usr/src/gcc-7/debian/patches/gcc-linaro-revert-r253234.diff is in gcc-7-source 7.3.0-16ubuntu3.

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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# DP: Revert r253234, already in the Linaro branch.

Index: b/src/gcc/testsuite/gcc.target/arm/lto/pr65837-attr_0.c
===================================================================
--- a/src/gcc/testsuite/gcc.target/arm/lto/pr65837-attr_0.c
+++ b/src/gcc/testsuite/gcc.target/arm/lto/pr65837-attr_0.c
@@ -1,7 +1,6 @@
 /* { dg-lto-do run } */
 /* { dg-require-effective-target arm_neon_hw } */
-/* { dg-require-effective-target arm_neon_ok_no_float_abi } */
-/* { dg-lto-options {{-flto -mfpu=neon}} } */
+/* { dg-lto-options {{-flto}} } */
 
 #include "arm_neon.h"
 
Index: b/src/gcc/testsuite/gcc.target/arm/lto/pr65837_0.c
===================================================================
--- a/src/gcc/testsuite/gcc.target/arm/lto/pr65837_0.c
+++ b/src/gcc/testsuite/gcc.target/arm/lto/pr65837_0.c
@@ -1,7 +1,7 @@
 /* { dg-lto-do run } */
 /* { dg-require-effective-target arm_neon_hw } */
-/* { dg-require-effective-target arm_neon_ok_no_float_abi } */
 /* { dg-lto-options {{-flto -mfpu=neon}} } */
+/* { dg-suppress-ld-options {-mfpu=neon} } */
 
 #include "arm_neon.h"
 
Index: b/src/gcc/testsuite/lib/target-supports.exp
===================================================================
--- a/src/gcc/testsuite/lib/target-supports.exp
+++ b/src/gcc/testsuite/lib/target-supports.exp
@@ -3428,9 +3428,8 @@ proc check_effective_target_arm_neon_ok_
     global et_arm_neon_flags
     set et_arm_neon_flags ""
     if { [check_effective_target_arm32] } {
-	foreach flags {"" "-mfloat-abi=softfp" "-mfpu=neon" "-mfpu=neon -mfloat-abi=softfp" "-mfpu=neon -mfloat-abi=softfp -march=armv7-a" "-mfloat-abi=hard" "-mfpu=neon -mfloat-abi=hard" "-mfpu=neon -mfloat-abi=hard -march=armv7-a"} {
+	foreach flags {"" "-mfloat-abi=softfp" "-mfpu=neon" "-mfpu=neon -mfloat-abi=softfp" "-mfpu=neon -mfloat-abi=softfp -march=armv7-a"} {
 	    if { [check_no_compiler_messages_nocache arm_neon_ok object {
-		#include <arm_neon.h>
 		int dummy;
 		#ifndef __ARM_NEON__
 		#error not NEON
@@ -3455,38 +3454,6 @@ proc check_effective_target_arm_neon_ok
 		check_effective_target_arm_neon_ok_nocache]
 }
 
-# Return 1 if this is an ARM target supporting -mfpu=neon without any
-# -mfloat-abi= option.  Useful in tests where add_options is not
-# supported (such as lto tests).
-
-proc check_effective_target_arm_neon_ok_no_float_abi_nocache { } {
-    if { [check_effective_target_arm32] } {
-	foreach flags {"-mfpu=neon"} {
-	    if { [check_no_compiler_messages_nocache arm_neon_ok_no_float_abi object {
-		#include <arm_neon.h>
-		int dummy;
-		#ifndef __ARM_NEON__
-		#error not NEON
-		#endif
-		/* Avoid the case where a test adds -mfpu=neon, but the toolchain is
-		   configured for -mcpu=arm926ej-s, for example.  */
-		#if __ARM_ARCH < 7 || __ARM_ARCH_PROFILE == 'M'
-		#error Architecture does not support NEON.
-		#endif
-	    } "$flags"] } {
-		return 1
-	    }
-	}
-    }
-
-    return 0
-}
-
-proc check_effective_target_arm_neon_ok_no_float_abi { } {
-    return [check_cached_effective_target arm_neon_ok_no_float_abi \
-		check_effective_target_arm_neon_ok_no_float_abi_nocache]
-}
-
 proc check_effective_target_arm_crc_ok_nocache { } {
     global et_arm_crc_flags
     set et_arm_crc_flags "-march=armv8-a+crc"