- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc7?expand=0&rev=55
This commit is contained in:
parent
fe344ddf8e
commit
b6354bdf2c
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -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-pr80593.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
|
||||
|
@ -301,6 +301,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-pr80593.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -1053,6 +1054,7 @@ ln -s nvptx-newlib/newlib .
|
||||
%endif
|
||||
%patch10
|
||||
%patch11
|
||||
%patch12
|
||||
%patch51
|
||||
%patch60
|
||||
%patch61
|
||||
|
64
gcc7-pr80593.patch
Normal file
64
gcc7-pr80593.patch
Normal file
@ -0,0 +1,64 @@
|
||||
2017-05-18 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR c++/80593
|
||||
* c-warn.c (strict_aliasing_warning): Do not warn for accesses
|
||||
to alias-set zero memory.
|
||||
|
||||
* g++.dg/warn/Wstrict-aliasing-bogus-char-2.C: New testcase.
|
||||
* g++.dg/warn/Wstrict-aliasing-6.C: Adjust expected outcome.
|
||||
|
||||
Index: gcc/c-family/c-warn.c
|
||||
===================================================================
|
||||
--- gcc/c-family/c-warn.c (revision 248179)
|
||||
+++ gcc/c-family/c-warn.c (working copy)
|
||||
@@ -537,10 +537,10 @@ strict_aliasing_warning (tree otype, tre
|
||||
= get_alias_set (TREE_TYPE (TREE_OPERAND (expr, 0)));
|
||||
alias_set_type set2 = get_alias_set (TREE_TYPE (type));
|
||||
|
||||
- if (set1 != set2 && set2 != 0
|
||||
- && (set1 == 0
|
||||
- || (!alias_set_subset_of (set2, set1)
|
||||
- && !alias_sets_conflict_p (set1, set2))))
|
||||
+ if (set2 != 0
|
||||
+ && set1 != set2
|
||||
+ && !alias_set_subset_of (set2, set1)
|
||||
+ && !alias_sets_conflict_p (set1, set2))
|
||||
{
|
||||
warning (OPT_Wstrict_aliasing, "dereferencing type-punned "
|
||||
"pointer will break strict-aliasing rules");
|
||||
Index: gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-char-2.C
|
||||
===================================================================
|
||||
--- gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-char-2.C (nonexistent)
|
||||
+++ gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-char-2.C (working copy)
|
||||
@@ -0,0 +1,19 @@
|
||||
+// { dg-do compile }
|
||||
+// { dg-options "-O2 -Wstrict-aliasing" }
|
||||
+
|
||||
+template<unsigned _Len, unsigned _Align>
|
||||
+struct aligned_storage
|
||||
+{
|
||||
+ union type
|
||||
+ {
|
||||
+ unsigned char __data[_Len];
|
||||
+ struct __attribute__((__aligned__((_Align)))) { } __align;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+aligned_storage<sizeof(int), __alignof__(int)>::type storage;
|
||||
+
|
||||
+int main()
|
||||
+{
|
||||
+ *reinterpret_cast<int*>(&storage) = 42; // { dg-bogus "break strict-aliasing" }
|
||||
+}
|
||||
Index: gcc/testsuite/g++.dg/warn/Wstrict-aliasing-6.C
|
||||
===================================================================
|
||||
--- gcc/testsuite/g++.dg/warn/Wstrict-aliasing-6.C (revision 248179)
|
||||
+++ gcc/testsuite/g++.dg/warn/Wstrict-aliasing-6.C (working copy)
|
||||
@@ -4,6 +4,6 @@
|
||||
int foo ()
|
||||
{
|
||||
char buf[8];
|
||||
- return *((int *)buf); /* { dg-warning "strict-aliasing" } */
|
||||
+ return *((int *)buf); /* { dg-bogus "strict-aliasing" } */
|
||||
}
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -314,6 +314,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-pr80593.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -439,6 +440,7 @@ ln -s nvptx-newlib/newlib .
|
||||
%endif
|
||||
%patch10
|
||||
%patch11
|
||||
%patch12
|
||||
%patch51
|
||||
%patch60
|
||||
%patch61
|
||||
|
@ -5,6 +5,7 @@ Wed May 17 12:09:04 UTC 2017 - rguenther@suse.com
|
||||
- Drop not working SLE-10 build support.
|
||||
- For SLE-15 make the i586 compiler generate code for architecture
|
||||
level of x86_64.
|
||||
- Add gcc7-pr80593.patch to fix ceph build. [bnc#1025891]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 10:12:09 UTC 2017 - rguenther@suse.com
|
||||
|
@ -296,6 +296,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-pr80593.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
@ -1743,6 +1744,7 @@ ln -s nvptx-newlib/newlib .
|
||||
%endif
|
||||
%patch10
|
||||
%patch11
|
||||
%patch12
|
||||
%patch51
|
||||
%patch60
|
||||
%patch61
|
||||
|
Loading…
x
Reference in New Issue
Block a user