From e73ed905ea7f8afb2f1b6b53a05e58304a69be00de5f8ee043aa6d80fac71117 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 13 Apr 2017 10:43:17 +0000 Subject: [PATCH] - Add gcc7-pr80321.patch to fix profiledboostrap failure. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc7?expand=0&rev=43 --- cross-aarch64-gcc7.changes | 1 + cross-aarch64-gcc7.spec | 2 + cross-arm-gcc7.changes | 1 + cross-arm-gcc7.spec | 2 + cross-avr-gcc7.changes | 1 + cross-avr-gcc7.spec | 2 + cross-epiphany-gcc7-bootstrap.changes | 1 + cross-epiphany-gcc7-bootstrap.spec | 2 + cross-epiphany-gcc7.changes | 1 + cross-epiphany-gcc7.spec | 2 + cross-hppa-gcc7.changes | 1 + cross-hppa-gcc7.spec | 2 + cross-i386-gcc7.changes | 1 + cross-i386-gcc7.spec | 2 + cross-m68k-gcc7.changes | 1 + cross-m68k-gcc7.spec | 2 + cross-mips-gcc7.changes | 1 + cross-mips-gcc7.spec | 2 + cross-nvptx-gcc7.changes | 1 + cross-nvptx-gcc7.spec | 2 + cross-ppc64-gcc7.changes | 1 + cross-ppc64-gcc7.spec | 2 + cross-ppc64le-gcc7.changes | 1 + cross-ppc64le-gcc7.spec | 2 + cross-rx-gcc7-bootstrap.changes | 1 + cross-rx-gcc7-bootstrap.spec | 2 + cross-rx-gcc7.changes | 1 + cross-rx-gcc7.spec | 2 + cross-s390x-gcc7.changes | 1 + cross-s390x-gcc7.spec | 2 + cross-sparc-gcc7.changes | 1 + cross-sparc-gcc7.spec | 2 + cross-sparc64-gcc7.changes | 1 + cross-sparc64-gcc7.spec | 2 + cross-x86_64-gcc7.changes | 1 + cross-x86_64-gcc7.spec | 2 + gcc.spec.in | 2 + gcc7-pr80321.patch | 305 ++++++++++++++++++++++++++ gcc7-testresults.changes | 1 + gcc7-testresults.spec | 2 + gcc7.changes | 1 + gcc7.spec | 2 + 42 files changed, 367 insertions(+) create mode 100644 gcc7-pr80321.patch diff --git a/cross-aarch64-gcc7.changes b/cross-aarch64-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-aarch64-gcc7.changes +++ b/cross-aarch64-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-aarch64-gcc7.spec b/cross-aarch64-gcc7.spec index 5af5720..b5cbd5b 100644 --- a/cross-aarch64-gcc7.spec +++ b/cross-aarch64-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-arm-gcc7.changes b/cross-arm-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-arm-gcc7.changes +++ b/cross-arm-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-arm-gcc7.spec b/cross-arm-gcc7.spec index 644da0d..14fbb2e 100644 --- a/cross-arm-gcc7.spec +++ b/cross-arm-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-avr-gcc7.changes b/cross-avr-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-avr-gcc7.changes +++ b/cross-avr-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-avr-gcc7.spec b/cross-avr-gcc7.spec index f2665e5..9e48260 100644 --- a/cross-avr-gcc7.spec +++ b/cross-avr-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-epiphany-gcc7-bootstrap.changes b/cross-epiphany-gcc7-bootstrap.changes index 2fdf49d..c9f670f 100644 --- a/cross-epiphany-gcc7-bootstrap.changes +++ b/cross-epiphany-gcc7-bootstrap.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-epiphany-gcc7-bootstrap.spec b/cross-epiphany-gcc7-bootstrap.spec index 3ec8700..bc39ab1 100644 --- a/cross-epiphany-gcc7-bootstrap.spec +++ b/cross-epiphany-gcc7-bootstrap.spec @@ -176,6 +176,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -249,6 +250,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-epiphany-gcc7.changes b/cross-epiphany-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-epiphany-gcc7.changes +++ b/cross-epiphany-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-epiphany-gcc7.spec b/cross-epiphany-gcc7.spec index 6764cbf..202e487 100644 --- a/cross-epiphany-gcc7.spec +++ b/cross-epiphany-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-hppa-gcc7.changes b/cross-hppa-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-hppa-gcc7.changes +++ b/cross-hppa-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-hppa-gcc7.spec b/cross-hppa-gcc7.spec index dbcef48..3ce0499 100644 --- a/cross-hppa-gcc7.spec +++ b/cross-hppa-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-i386-gcc7.changes b/cross-i386-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-i386-gcc7.changes +++ b/cross-i386-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-i386-gcc7.spec b/cross-i386-gcc7.spec index ec28ff4..94224af 100644 --- a/cross-i386-gcc7.spec +++ b/cross-i386-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-m68k-gcc7.changes b/cross-m68k-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-m68k-gcc7.changes +++ b/cross-m68k-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-m68k-gcc7.spec b/cross-m68k-gcc7.spec index 6f3d8df..17b5efc 100644 --- a/cross-m68k-gcc7.spec +++ b/cross-m68k-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-mips-gcc7.changes b/cross-mips-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-mips-gcc7.changes +++ b/cross-mips-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-mips-gcc7.spec b/cross-mips-gcc7.spec index a5dfe07..5b82eb3 100644 --- a/cross-mips-gcc7.spec +++ b/cross-mips-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-nvptx-gcc7.changes b/cross-nvptx-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-nvptx-gcc7.changes +++ b/cross-nvptx-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-nvptx-gcc7.spec b/cross-nvptx-gcc7.spec index c46cc9a..127c1d3 100644 --- a/cross-nvptx-gcc7.spec +++ b/cross-nvptx-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-ppc64-gcc7.changes b/cross-ppc64-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-ppc64-gcc7.changes +++ b/cross-ppc64-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-ppc64-gcc7.spec b/cross-ppc64-gcc7.spec index 9f791a0..41f53e7 100644 --- a/cross-ppc64-gcc7.spec +++ b/cross-ppc64-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-ppc64le-gcc7.changes b/cross-ppc64le-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-ppc64le-gcc7.changes +++ b/cross-ppc64le-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-ppc64le-gcc7.spec b/cross-ppc64le-gcc7.spec index e6298aa..3da9841 100644 --- a/cross-ppc64le-gcc7.spec +++ b/cross-ppc64le-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-rx-gcc7-bootstrap.changes b/cross-rx-gcc7-bootstrap.changes index 2fdf49d..c9f670f 100644 --- a/cross-rx-gcc7-bootstrap.changes +++ b/cross-rx-gcc7-bootstrap.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-rx-gcc7-bootstrap.spec b/cross-rx-gcc7-bootstrap.spec index 9d5397a..98c3919 100644 --- a/cross-rx-gcc7-bootstrap.spec +++ b/cross-rx-gcc7-bootstrap.spec @@ -176,6 +176,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -249,6 +250,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-rx-gcc7.changes b/cross-rx-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-rx-gcc7.changes +++ b/cross-rx-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-rx-gcc7.spec b/cross-rx-gcc7.spec index 321c284..5bac450 100644 --- a/cross-rx-gcc7.spec +++ b/cross-rx-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-s390x-gcc7.changes b/cross-s390x-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-s390x-gcc7.changes +++ b/cross-s390x-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-s390x-gcc7.spec b/cross-s390x-gcc7.spec index 8c5e183..9382360 100644 --- a/cross-s390x-gcc7.spec +++ b/cross-s390x-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-sparc-gcc7.changes b/cross-sparc-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-sparc-gcc7.changes +++ b/cross-sparc-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-sparc-gcc7.spec b/cross-sparc-gcc7.spec index e7fbd31..bb826bb 100644 --- a/cross-sparc-gcc7.spec +++ b/cross-sparc-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-sparc64-gcc7.changes b/cross-sparc64-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-sparc64-gcc7.changes +++ b/cross-sparc64-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-sparc64-gcc7.spec b/cross-sparc64-gcc7.spec index c83ba98..971d925 100644 --- a/cross-sparc64-gcc7.spec +++ b/cross-sparc64-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/cross-x86_64-gcc7.changes b/cross-x86_64-gcc7.changes index 2fdf49d..c9f670f 100644 --- a/cross-x86_64-gcc7.changes +++ b/cross-x86_64-gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/cross-x86_64-gcc7.spec b/cross-x86_64-gcc7.spec index 23a3125..82cf55a 100644 --- a/cross-x86_64-gcc7.spec +++ b/cross-x86_64-gcc7.spec @@ -175,6 +175,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -248,6 +249,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/gcc.spec.in b/gcc.spec.in index eda3142..6dc34e0 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -299,6 +299,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1051,6 +1052,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/gcc7-pr80321.patch b/gcc7-pr80321.patch new file mode 100644 index 0000000..e08fe52 --- /dev/null +++ b/gcc7-pr80321.patch @@ -0,0 +1,305 @@ +The following C and Ada testcases show ICE due to endless recursion in +dwarf2out.c. The problem is that when processing BLOCK_NONLOCALIZED_VARS, +we want to treat all the FUNCTION_DECLs in there as mere declarations, +but gen_subprogram_die does: + int declaration = (current_function_decl != decl + || class_or_namespace_scope_p (context_die)); +and thus if there is some self-inlining and we are unlucky enough +not to reach some early-outs that just ignore the FUNCTION_DECL, +like: + /* Detect and ignore this case, where we are trying to output + something we have already output. */ + if (get_AT (old_die, DW_AT_low_pc) + || get_AT (old_die, DW_AT_ranges)) + return; +we will recurse infinitely. The following patch fixes it by +just ignoring current_function_decl seen from BLOCK_NONLOCALIZED_VARS, +that implies it is already inlined into somewhere and in the abstract +origin we emit properly a DW_AT_declaration decl if needed, that is pretty +much what gen_subprogram_die would do anyway in such cases, because there +is already old_die, we really don't want to make some child of it its parent +and otherwise no further action is performed. + +Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? + +Other possibilities include adding some global bool flag that +gen_subprogram_die's int declaration = ... above should ignore +decl == current_function_decl that we'd set in decls_for_scope when +seeing current_function_decl in BLOCK_NONLOCALIZED_VARS (and probably +save/clear + restore in dwarf2out_abstract_function where we change +current_function_decl). Or we could pass through from decls_for_scope +down through process_scope_var, gen_decl_die to gen_subprogram_die +a bool flag force_declaration. + +2017-04-07 Jakub Jelinek + + PR debug/80321 + * dwarf2out.c (decls_for_scope): Ignore declarations of + current_function_decl in BLOCK_NONLOCALIZED_VARS. + + * gcc.dg/debug/pr80321.c: New test. + +2017-04-07 Eric Botcazou + + * gnat.dg/debug10.adb: New test. + * gnat.dg/debug10_pkg.ads: New helper. + +--- gcc/dwarf2out.c.jj 2017-04-07 11:46:48.000000000 +0200 ++++ gcc/dwarf2out.c 2017-04-07 20:00:43.503772542 +0200 +@@ -24889,7 +24889,12 @@ decls_for_scope (tree stmt, dw_die_ref c + for (i = 0; i < BLOCK_NUM_NONLOCALIZED_VARS (stmt); i++) + { + decl = BLOCK_NONLOCALIZED_VAR (stmt, i); +- if (TREE_CODE (decl) == FUNCTION_DECL) ++ if (decl == current_function_decl) ++ /* Ignore declarations of the current function, while they ++ are declarations, gen_subprogram_die would treat them ++ as definitions again, because they are equal to ++ current_function_decl and endlessly recurse. */; ++ else if (TREE_CODE (decl) == FUNCTION_DECL) + process_scope_var (stmt, decl, NULL_TREE, context_die); + else + process_scope_var (stmt, NULL_TREE, decl, context_die); +--- gcc/testsuite/gcc.dg/debug/pr80321.c.jj 2017-04-07 21:39:01.930615179 +0200 ++++ gcc/testsuite/gcc.dg/debug/pr80321.c 2017-04-07 21:39:49.722982635 +0200 +@@ -0,0 +1,26 @@ ++/* PR debug/80321 */ ++/* { dg-do compile } */ ++/* { dg-options "-fkeep-inline-functions" } */ ++ ++void bar (void); ++ ++static inline void ++test (int x) ++{ ++ inline void ++ foo (int x) ++ { ++ test (0); ++ asm volatile ("" : : : "memory"); ++ } ++ if (x != 0) ++ foo (x); ++ else ++ bar (); ++} ++ ++void ++baz (int x) ++{ ++ test (x); ++} +--- gcc/testsuite/gnat.dg/debug10.adb.jj 2017-04-07 20:24:44.232473780 +0200 ++++ gcc/testsuite/gnat.dg/debug10.adb 2017-04-07 20:26:40.493980722 +0200 +@@ -0,0 +1,68 @@ ++-- PR debug/80321 ++ ++-- { dg-do compile } ++-- { dg-options "-O2 -g" } ++ ++with Debug10_Pkg; use Debug10_Pkg; ++ ++procedure Debug10 (T : Entity_Id) is ++ ++ procedure Inner (E : Entity_Id); ++ pragma Inline (Inner); ++ ++ procedure Inner (E : Entity_Id) is ++ begin ++ if E /= Empty ++ and then not Nodes (E + 3).Flag16 ++ then ++ Debug10 (E); ++ end if; ++ end Inner; ++ ++ function Ekind (E : Entity_Id) return Entity_Kind is ++ begin ++ return N_To_E (Nodes (E + 1).Nkind); ++ end Ekind; ++ ++begin ++ ++ if T = Empty then ++ return; ++ end if; ++ ++ Nodes (T + 3).Flag16 := True; ++ ++ if Ekind (T) in Object_Kind then ++ Inner (T); ++ ++ elsif Ekind (T) in Type_Kind then ++ Inner (T); ++ ++ if Ekind (T) in Record_Kind then ++ ++ if Ekind (T) = E_Class_Wide_Subtype then ++ Inner (T); ++ end if; ++ ++ elsif Ekind (T) in Array_Kind then ++ Inner (T); ++ ++ elsif Ekind (T) in Access_Kind then ++ Inner (T); ++ ++ elsif Ekind (T) in Scalar_Kind then ++ ++ if My_Scalar_Range (T) /= Empty ++ and then My_Test (My_Scalar_Range (T)) ++ then ++ if My_Is_Entity_Name (T) then ++ Inner (T); ++ end if; ++ ++ if My_Is_Entity_Name (T) then ++ Inner (T); ++ end if; ++ end if; ++ end if; ++ end if; ++end; +--- gcc/testsuite/gnat.dg/debug10_pkg.ads.jj 2017-04-07 20:24:47.384433302 +0200 ++++ gcc/testsuite/gnat.dg/debug10_pkg.ads 2017-04-07 20:24:22.000000000 +0200 +@@ -0,0 +1,138 @@ ++with Unchecked_Conversion; ++ ++package Debug10_Pkg is ++ ++ type Node_Id is range 0 .. 99_999_999; ++ ++ Empty : constant Node_Id := 0; ++ ++ subtype Entity_Id is Node_Id; ++ ++ type Union_Id is new Integer; ++ ++ function My_Is_Entity_Name (N : Node_Id) return Boolean; ++ ++ function My_Scalar_Range (Id : Entity_Id) return Node_Id; ++ ++ function My_Test (N : Node_Id) return Boolean; ++ ++ type Node_Kind is (N_Unused_At_Start, N_Unused_At_End); ++ ++ type Entity_Kind is ( ++ ++ E_Void, ++ E_Component, ++ E_Constant, ++ E_Discriminant, ++ E_Loop_Parameter, ++ E_Variable, ++ E_Out_Parameter, ++ E_In_Out_Parameter, ++ E_In_Parameter, ++ E_Generic_In_Out_Parameter, ++ E_Generic_In_Parameter, ++ E_Named_Integer, ++ E_Named_Real, ++ E_Enumeration_Type, ++ E_Enumeration_Subtype, ++ E_Signed_Integer_Type, ++ E_Signed_Integer_Subtype, ++ E_Modular_Integer_Type, ++ E_Modular_Integer_Subtype, ++ E_Ordinary_Fixed_Point_Type, ++ E_Ordinary_Fixed_Point_Subtype, ++ E_Decimal_Fixed_Point_Type, ++ E_Decimal_Fixed_Point_Subtype, ++ E_Floating_Point_Type, ++ E_Floating_Point_Subtype, ++ E_Access_Type, ++ E_Access_Subtype, ++ E_Access_Attribute_Type, ++ E_Allocator_Type, ++ E_General_Access_Type, ++ E_Access_Subprogram_Type, ++ E_Anonymous_Access_Subprogram_Type, ++ E_Access_Protected_Subprogram_Type, ++ E_Anonymous_Access_Protected_Subprogram_Type, ++ E_Anonymous_Access_Type, ++ E_Array_Type, ++ E_Array_Subtype, ++ E_String_Literal_Subtype, ++ E_Class_Wide_Type, ++ E_Class_Wide_Subtype, ++ E_Record_Type, ++ E_Record_Subtype, ++ E_Record_Type_With_Private, ++ E_Record_Subtype_With_Private, ++ E_Private_Type, ++ E_Private_Subtype, ++ E_Limited_Private_Type, ++ E_Limited_Private_Subtype, ++ E_Incomplete_Type, ++ E_Incomplete_Subtype, ++ E_Task_Type, ++ E_Task_Subtype, ++ E_Protected_Type, ++ E_Protected_Subtype, ++ E_Exception_Type, ++ E_Subprogram_Type, ++ E_Enumeration_Literal, ++ E_Function, ++ E_Operator, ++ E_Procedure, ++ E_Abstract_State, ++ E_Entry, ++ E_Entry_Family, ++ E_Block, ++ E_Entry_Index_Parameter, ++ E_Exception, ++ E_Generic_Function, ++ E_Generic_Procedure, ++ E_Generic_Package, ++ E_Label, ++ E_Loop, ++ E_Return_Statement, ++ E_Package, ++ E_Package_Body, ++ E_Protected_Object, ++ E_Protected_Body, ++ E_Task_Body, ++ E_Subprogram_Body ++ ); ++ ++ subtype Access_Kind is Entity_Kind range ++ E_Access_Type .. ++ E_Anonymous_Access_Type; ++ ++ subtype Array_Kind is Entity_Kind range ++ E_Array_Type .. ++ E_String_Literal_Subtype; ++ ++ subtype Object_Kind is Entity_Kind range ++ E_Component .. ++ E_Generic_In_Parameter; ++ ++ subtype Record_Kind is Entity_Kind range ++ E_Class_Wide_Type .. ++ E_Record_Subtype_With_Private; ++ ++ subtype Scalar_Kind is Entity_Kind range ++ E_Enumeration_Type .. ++ E_Floating_Point_Subtype; ++ ++ subtype Type_Kind is Entity_Kind range ++ E_Enumeration_Type .. ++ E_Subprogram_Type; ++ ++ type Node_Record (Is_Extension : Boolean := False) is record ++ Flag16 : Boolean; ++ Nkind : Node_Kind; ++ end record; ++ ++ function N_To_E is new Unchecked_Conversion (Node_Kind, Entity_Kind); ++ ++ type Arr is array (Node_Id) of Node_Record; ++ ++ Nodes : Arr; ++ ++end Debug10_Pkg; + + Jakub diff --git a/gcc7-testresults.changes b/gcc7-testresults.changes index 2fdf49d..c9f670f 100644 --- a/gcc7-testresults.changes +++ b/gcc7-testresults.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/gcc7-testresults.spec b/gcc7-testresults.spec index cb014a4..d217a38 100644 --- a/gcc7-testresults.spec +++ b/gcc7-testresults.spec @@ -312,6 +312,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -437,6 +438,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61 diff --git a/gcc7.changes b/gcc7.changes index 2fdf49d..c9f670f 100644 --- a/gcc7.changes +++ b/gcc7.changes @@ -3,6 +3,7 @@ Thu Apr 13 08:48:41 UTC 2017 - rguenther@suse.com - Update to gcc trunk head (r246899). - Always create nvptx offloading cross spec file. +- Add gcc7-pr80321.patch to fix profiledboostrap failure. ------------------------------------------------------------------- Tue Apr 4 14:44:52 UTC 2017 - mliska@suse.cz diff --git a/gcc7.spec b/gcc7.spec index 12a00f0..b86995c 100644 --- a/gcc7.spec +++ b/gcc7.spec @@ -294,6 +294,7 @@ Patch7: gcc48-libstdc++-api-reference.patch Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch +Patch12: gcc7-pr80321.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1741,6 +1742,7 @@ ln -s nvptx-newlib/newlib . %endif %patch10 %patch11 +%patch12 %patch51 %patch60 %patch61