diff options
author | Marius Bakke <marius@gnu.org> | 2022-07-25 03:23:31 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-07-27 17:53:49 +0200 |
commit | 8a2b5f3f587459c11c037b9d372b4070263baae9 (patch) | |
tree | 4d8a6c7291c28114105e93a351a2dc8c251cf3f3 /gnu/packages/gcc.scm | |
parent | b3fb4ed0b007b99248b3f17e79d117bbe65f0815 (diff) | |
download | guix-8a2b5f3f587459c11c037b9d372b4070263baae9.tar.gz guix-8a2b5f3f587459c11c037b9d372b4070263baae9.zip |
gnu: GCC: Fix union optimization issue.
* gnu/packages/patches/gcc-10-tree-sra-union-handling.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/gcc.scm (gcc-10, gcc-11)[source](patches): Add it.
* gnu/packages/rust.scm (rust-bootstrap)[native-inputs]: Remove GCC-9.
Diffstat (limited to 'gnu/packages/gcc.scm')
-rw-r--r-- | gnu/packages/gcc.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 0d8a62cbe7..a957ae3480 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -665,7 +665,8 @@ It also includes runtime support libraries for these languages.") (base32 "1wg4xdizkksmwi66mvv2v4pk3ja8x64m7v9gzhykzd3wrmdpsaf9")) (patches (search-patches "gcc-9-strmov-store-file-names.patch" - "gcc-5.0-libvtv-runpath.patch")) + "gcc-5.0-libvtv-runpath.patch" + "gcc-10-tree-sra-union-handling.patch")) (modules '((guix build utils))) (snippet gcc-canadian-cross-objdump-snippet))) (properties @@ -686,7 +687,8 @@ It also includes runtime support libraries for these languages.") (base32 "0fdclcwf728wbq52vphfcjywzhpsjp3kifzj3pib3xcihs0z4z5l")) (patches (search-patches "gcc-9-strmov-store-file-names.patch" - "gcc-5.0-libvtv-runpath.patch")) + "gcc-5.0-libvtv-runpath.patch" + "gcc-10-tree-sra-union-handling.patch")) (modules '((guix build utils))) (snippet gcc-canadian-cross-objdump-snippet))) |