Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Tulio Magno Quites Machado Filho
13c9696714 Backport a fix from upstream
This patch is mandatory in order to test LLVM 19, e.g. when testing
the daily snapshots.
2024-04-16 17:11:01 -03:00
2 changed files with 32 additions and 1 deletions

View file

@ -0,0 +1,26 @@
From d10245e73a71cee2beb737863ffe8f146f4d47e0 Mon Sep 17 00:00:00 2001
From: antoine moynault <antoine.moynault@linaro.org>
Date: Thu, 21 Dec 2023 16:41:50 +0100
Subject: [PATCH] [gcc-c-torture] use -fwrapv for 950704-1.c (signed overflow)
(#70)
test fails since #76044
---
SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt b/SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt
index 4788755c..03425811 100644
--- a/SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt
+++ b/SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt
@@ -181,6 +181,7 @@ file(GLOB TestRequiresFWrapV CONFIGURE_DEPENDS
20040409-1.c
20040409-2.c
20040409-3.c
+ 950704-1.c
)
# Tests that require -Wno-return-type
--
2.44.0

View file

@ -6,7 +6,7 @@
Name: llvm-test-suite
Version: %{llvm_test_suite_version}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: C/C++ Compiler Test Suite
License: NCSA and BSD and GPLv1 and GPLv2+ and GPLv2 and MIT and Python and Public Domain and CRC32 and AML and Rdisc and ASL 2.0 and LGPLv3
@ -27,6 +27,8 @@ Source1: license-files.txt
Source2: pkg_test_suite.sh
BuildArch: noarch
Patch: 0001-gcc-c-torture-use-fwrapv-for-950704-1.c-signed-overf.patch
# We need python3-devel for pathfix.py.
BuildRequires: python3-devel
@ -80,6 +82,9 @@ cp -R %{_builddir}/%{test_suite_srcdir}/* %{buildroot}%{_datadir}/llvm-test-suit
%changelog
* Tue Apr 16 2024 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.6-2
- Backport a fix from upstream
* Tue Nov 28 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.6-1
- Update to LLVM 17.0.6