Patch for gcc-9 bug
This commit is contained in:
parent
59a913a078
commit
dc88066dc2
25
0001-Workaround-GCC-9-bug-when-handling-bitfields.patch
Normal file
25
0001-Workaround-GCC-9-bug-when-handling-bitfields.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 201cacaa74446657d884786d31411a98f6f9c17e Mon Sep 17 00:00:00 2001
|
||||
From: serge-sans-paille <sguelton@redhat.com>
|
||||
Date: Mon, 4 Feb 2019 21:25:45 +0000
|
||||
Subject: [PATCH] Workaround GCC 9 bug when handling bitfields.
|
||||
|
||||
---
|
||||
include/clang/Frontend/TextDiagnosticPrinter.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/clang/Frontend/TextDiagnosticPrinter.h b/include/clang/Frontend/TextDiagnosticPrinter.h
|
||||
index 3cb4e02edf..d47d71930c 100644
|
||||
--- a/include/clang/Frontend/TextDiagnosticPrinter.h
|
||||
+++ b/include/clang/Frontend/TextDiagnosticPrinter.h
|
||||
@@ -35,7 +35,7 @@ class TextDiagnosticPrinter : public DiagnosticConsumer {
|
||||
/// A string to prefix to error messages.
|
||||
std::string Prefix;
|
||||
|
||||
- unsigned OwnsOutputStream : 1;
|
||||
+ bool OwnsOutputStream;
|
||||
|
||||
public:
|
||||
TextDiagnosticPrinter(raw_ostream &os, DiagnosticOptions *diags,
|
||||
--
|
||||
2.19.2
|
||||
|
@ -58,7 +58,7 @@
|
||||
|
||||
Name: %pkg_name
|
||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
||||
Release: 3%{?rc_ver:.rc%{rc_ver}}%{?dist}.1
|
||||
Release: 4%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
||||
Summary: A C language family front-end for LLVM
|
||||
|
||||
License: NCSA
|
||||
@ -77,6 +77,7 @@ Patch7: 0001-Convert-scan-view-to-python3-using-2to3.patch
|
||||
#rhbz#1657544
|
||||
Patch8: 0001-CodeGen-Handle-mixed-width-ops-in-mixed-sign-mul-wit.patch
|
||||
Patch9: 0001-Fix-uninitialized-value-in-ABIArgInfo.patch
|
||||
Patch10: 0001-Workaround-GCC-9-bug-when-handling-bitfields.patch
|
||||
|
||||
# clang-tools-extra patches
|
||||
Patch100: 0001-Convert-run-find-all-symbols.py-to-python3-using-2to.patch
|
||||
@ -421,8 +422,11 @@ false
|
||||
|
||||
%endif
|
||||
%changelog
|
||||
* Mon Feb 04 2019 sguelton@redhat.com - 7.0.1-4
|
||||
- Workaround gcc-9 bug when compiling bitfields
|
||||
|
||||
* Fri Feb 01 2019 sguelton@redhat.com - 7.0.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
- Fix uninitialized error detected by gcc-9
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user