Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gcc/8.1.0/gentoo: 93_all_arm-arch.patch README.history
Date: Fri, 04 May 2018 23:03:15
Message-Id: 20180504230310.81D273B@oystercatcher.gentoo.org
1 slyfox 18/05/04 23:03:10
2
3 Modified: README.history
4 Added: 93_all_arm-arch.patch
5 Log:
6 fix --with-arch= arm validation
7
8 toolchain.eclass relies on it to pass
9 (or not to pass0 correct --with-arch=.
10
11 In this case broken target was arm-none-eabi
12
13 Bug: https://gcc.gnu.org/PR85658
14
15 Revision Changes Path
16 1.3 src/patchsets/gcc/8.1.0/gentoo/README.history
17
18 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history?rev=1.3&view=markup
19 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history?rev=1.3&content-type=text/plain
20 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history?r1=1.2&r2=1.3
21
22 Index: README.history
23 ===================================================================
24 RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history,v
25 retrieving revision 1.2
26 retrieving revision 1.3
27 diff -u -r1.2 -r1.3
28 --- README.history 2 May 2018 22:52:30 -0000 1.2
29 +++ README.history 4 May 2018 23:03:10 -0000 1.3
30 @@ -1,3 +1,5 @@
31 +1.2 05 May 2018
32 + + 93_all_arm-arch.patch
33 1.1 03 May 2018
34 U 13_all_default-ssp-fix.patch
35 + 35_all_i386_libgcc_note.GNU-stack.patch
36
37
38
39 1.1 src/patchsets/gcc/8.1.0/gentoo/93_all_arm-arch.patch
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/93_all_arm-arch.patch?rev=1.1&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/93_all_arm-arch.patch?rev=1.1&content-type=text/plain
43
44 Index: 93_all_arm-arch.patch
45 ===================================================================
46 Fix -march= flag autodetection.
47
48 Bug: https://gcc.gnu.org/PR85658
49 diff --git a/gcc/config/arm/parsecpu.awk b/gcc/config/arm/parsecpu.awk
50 index 56c762b3b..1135f735b 100644
51 --- a/gcc/config/arm/parsecpu.awk
52 +++ b/gcc/config/arm/parsecpu.awk
53 @@ -485,7 +485,7 @@ function check_fpu (name) {
54 function check_arch (name) {
55 exts = split (name, extensions, "+")
56
57 - if (! extensions[1] in arch_isa) {
58 + if (! (extensions[1] in arch_isa)) {
59 return "error"
60 }