mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 17:43:59 +02:00
Pass -Werror=lto-type-mismatch for GCC LTO jobs
This helps to find possible LTO miscompilations earlier. See also https://github.com/ruby/ruby/pull/7695.
This commit is contained in:
parent
533368ccbd
commit
fe42d88ad2
Notes:
git
2023-06-08 06:22:22 +00:00
Merged: https://github.com/ruby/ruby/pull/7704 Merged-By: nobu <nobu@ruby-lang.org>
1 changed files with 6 additions and 6 deletions
12
.github/workflows/compilers.yml
vendored
12
.github/workflows/compilers.yml
vendored
|
@ -78,10 +78,10 @@ jobs:
|
||||||
- { name: gcc-9, env: { default_cc: gcc-9 } }
|
- { name: gcc-9, env: { default_cc: gcc-9 } }
|
||||||
- { name: gcc-8, env: { default_cc: gcc-8 } }
|
- { name: gcc-8, env: { default_cc: gcc-8 } }
|
||||||
- { name: gcc-7, env: { default_cc: gcc-7 } }
|
- { name: gcc-7, env: { default_cc: gcc-7 } }
|
||||||
- name: 'gcc-11 LTO'
|
- name: 'gcc-13 LTO'
|
||||||
container: gcc-11
|
container: gcc-13
|
||||||
env:
|
env:
|
||||||
default_cc: 'gcc-11 -flto=auto -ffat-lto-objects'
|
default_cc: 'gcc-13 -flto=auto -ffat-lto-objects -Werror=lto-type-mismatch'
|
||||||
optflags: '-O2'
|
optflags: '-O2'
|
||||||
shared: disable
|
shared: disable
|
||||||
# check: true
|
# check: true
|
||||||
|
@ -97,10 +97,10 @@ jobs:
|
||||||
- { name: clang-8, env: { default_cc: clang-8 } }
|
- { name: clang-8, env: { default_cc: clang-8 } }
|
||||||
- { name: clang-7, env: { default_cc: clang-7 } }
|
- { name: clang-7, env: { default_cc: clang-7 } }
|
||||||
- { name: clang-6.0, env: { default_cc: clang-6.0 } }
|
- { name: clang-6.0, env: { default_cc: clang-6.0 } }
|
||||||
- name: 'clang-14 LTO'
|
- name: 'clang-16 LTO'
|
||||||
container: clang-14
|
container: clang-16
|
||||||
env:
|
env:
|
||||||
default_cc: 'clang-14 -flto=auto'
|
default_cc: 'clang-16 -flto=auto'
|
||||||
optflags: '-O2'
|
optflags: '-O2'
|
||||||
shared: disable
|
shared: disable
|
||||||
# check: true
|
# check: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue