Skip to content

Commit c8bda96

Browse files
authored
kokoro: use GCC 15 (#6659)
Google internal bug 506281797
1 parent 4cce356 commit c8bda96

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ also work, but are not verified.
463463
SPIRV-Tools is regularly tested with the following compilers:
464464

465465
On Linux
466-
- GCC version 13
466+
- GCC version 15
467467
- Clang version 18
468468

469469
On MacOS

docs/downloads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Download the latest builds of the [main](https://github.com/KhronosGroup/SPIRV-T
2323
| Platform | Processor | Compiler | Release build | Debug build |
2424
| --- | --- | --- | --- | --- |
2525
| Windows | x86-64 | VisualStudio 2022 (MSVC v143) | Download: <a href="https://storage.googleapis.com/spirv-tools/badges/build_link_windows_vs2022_release.html"> <img src="https://storage.googleapis.com/spirv-tools/badges/build_status_windows_vs2022_release.svg" alt="status of VS 2022 release build"></a> | Download: <a href="https://storage.googleapis.com/spirv-tools/badges/build_link_windows_vs2022_debug.html"> <img src="https://storage.googleapis.com/spirv-tools/badges/build_status_windows_vs2022_debug.svg" alt="status of VS 2022 debug build"></a> |
26-
| Linux | x86-64 | GCC 9.4 | Download: <a href="https://storage.googleapis.com/spirv-tools/badges/build_link_linux_gcc_release.html"> <img src="https://storage.googleapis.com/spirv-tools/badges/build_status_linux_gcc_release.svg" alt="status of Linux GCC build"></a> | Download: <a href="https://storage.googleapis.com/spirv-tools/badges/build_link_linux_gcc_debug.html"> <img src="https://storage.googleapis.com/spirv-tools/badges/build_status_linux_gcc_debug.svg" alt="status of Linux GCC debug build"></a> |
26+
| Linux | x86-64 | GCC 15 | Download: <a href="https://storage.googleapis.com/spirv-tools/badges/build_link_linux_gcc_release.html"> <img src="https://storage.googleapis.com/spirv-tools/badges/build_status_linux_gcc_release.svg" alt="status of Linux GCC build"></a> | Download: <a href="https://storage.googleapis.com/spirv-tools/badges/build_link_linux_gcc_debug.html"> <img src="https://storage.googleapis.com/spirv-tools/badges/build_status_linux_gcc_debug.svg" alt="status of Linux GCC debug build"></a> |
2727
| macOS | x86-64 | Clang 15 | Download: <a href="https://storage.googleapis.com/spirv-tools/badges/build_link_macos_clang_release.html"> <img src="https://storage.googleapis.com/spirv-tools/badges/build_status_macos_clang_release.svg" alt="status of macOS Clang build"></a> | Download: <a href="https://storage.googleapis.com/spirv-tools/badges/build_link_macos_clang_debug.html"> <img src="https://storage.googleapis.com/spirv-tools/badges/build_status_macos_clang_debug.svg" alt="status of macOS Clang build"></a> |
2828

2929
Note: If you suspect something is wrong with the compiler versions mentioned,

kokoro/scripts/linux/build-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ using python-3.12
3232
if [ $COMPILER = "clang" ]; then
3333
using clang-18
3434
elif [ $COMPILER = "gcc" ]; then
35-
using gcc-13
35+
using gcc-15
3636
fi
3737

3838
cd $ROOT_DIR

test/opt/loop_optimizations/dependence_analysis.cpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ TEST(DependencyAnalysis, ZIV) {
126126
std::vector<const Loop*> loops{loop};
127127
LoopDependenceAnalysis analysis{context.get(), loops};
128128

129-
const Instruction* store[4];
129+
const Instruction* store[4] = {};
130130
int stores_found = 0;
131131
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 13)) {
132132
if (inst.opcode() == spv::Op::OpStore) {
@@ -283,7 +283,7 @@ TEST(DependencyAnalysis, SymbolicZIV) {
283283
std::vector<const Loop*> loops{loop};
284284
LoopDependenceAnalysis analysis{context.get(), loops};
285285

286-
const Instruction* store[4];
286+
const Instruction* store[4] = {};
287287
int stores_found = 0;
288288
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 22)) {
289289
if (inst.opcode() == spv::Op::OpStore) {
@@ -519,7 +519,7 @@ TEST(DependencyAnalysis, SIV) {
519519
std::vector<const Loop*> loops{loop};
520520
LoopDependenceAnalysis analysis{context.get(), loops};
521521

522-
const Instruction* store[4];
522+
const Instruction* store[4] = {};
523523
int stores_found = 0;
524524
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 17)) {
525525
if (inst.opcode() == spv::Op::OpStore) {
@@ -592,7 +592,7 @@ TEST(DependencyAnalysis, SIV) {
592592
std::vector<const Loop*> loops{loop};
593593
LoopDependenceAnalysis analysis{context.get(), loops};
594594

595-
const Instruction* store[4];
595+
const Instruction* store[4] = {};
596596
int stores_found = 0;
597597
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 68)) {
598598
if (inst.opcode() == spv::Op::OpStore) {
@@ -913,7 +913,7 @@ TEST(DependencyAnalysis, SymbolicSIV) {
913913
std::vector<const Loop*> loops{loop};
914914
LoopDependenceAnalysis analysis{context.get(), loops};
915915

916-
const Instruction* store[4];
916+
const Instruction* store[4] = {};
917917
int stores_found = 0;
918918
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 29)) {
919919
if (inst.opcode() == spv::Op::OpStore) {
@@ -969,7 +969,7 @@ TEST(DependencyAnalysis, SymbolicSIV) {
969969
std::vector<const Loop*> loops{loop};
970970
LoopDependenceAnalysis analysis{context.get(), loops};
971971

972-
const Instruction* store[4];
972+
const Instruction* store[4] = {};
973973
int stores_found = 0;
974974
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 114)) {
975975
if (inst.opcode() == spv::Op::OpStore) {
@@ -1837,7 +1837,7 @@ TEST(DependencyAnalysis, WeakZeroSIV) {
18371837
std::vector<const Loop*> loops{loop};
18381838
LoopDependenceAnalysis analysis{context.get(), loops};
18391839

1840-
const Instruction* store[4];
1840+
const Instruction* store[4] = {};
18411841
int stores_found = 0;
18421842
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 19)) {
18431843
if (inst.opcode() == spv::Op::OpStore) {
@@ -1905,7 +1905,7 @@ TEST(DependencyAnalysis, WeakZeroSIV) {
19051905
std::vector<const Loop*> loops{loop};
19061906
LoopDependenceAnalysis analysis{context.get(), loops};
19071907

1908-
const Instruction* store[4];
1908+
const Instruction* store[4] = {};
19091909
int stores_found = 0;
19101910
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 54)) {
19111911
if (inst.opcode() == spv::Op::OpStore) {
@@ -1972,7 +1972,7 @@ TEST(DependencyAnalysis, WeakZeroSIV) {
19721972
Loop* loop = &ld.GetLoopByIndex(0);
19731973
std::vector<const Loop*> loops{loop};
19741974
LoopDependenceAnalysis analysis{context.get(), loops};
1975-
const Instruction* store[4];
1975+
const Instruction* store[4] = {};
19761976
int stores_found = 0;
19771977
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 84)) {
19781978
if (inst.opcode() == spv::Op::OpStore) {
@@ -2040,7 +2040,7 @@ TEST(DependencyAnalysis, WeakZeroSIV) {
20402040
std::vector<const Loop*> loops{loop};
20412041
LoopDependenceAnalysis analysis{context.get(), loops};
20422042

2043-
const Instruction* store[4];
2043+
const Instruction* store[4] = {};
20442044
int stores_found = 0;
20452045
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 111)) {
20462046
if (inst.opcode() == spv::Op::OpStore) {
@@ -2201,7 +2201,7 @@ TEST(DependencyAnalysis, MultipleSubscriptZIVSIV) {
22012201
std::vector<const Loop*> loops{loop};
22022202
LoopDependenceAnalysis analysis{context.get(), loops};
22032203

2204-
const Instruction* store[6];
2204+
const Instruction* store[6] = {};
22052205
int stores_found = 0;
22062206
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 11)) {
22072207
if (inst.opcode() == spv::Op::OpStore) {
@@ -2434,7 +2434,7 @@ TEST(DependencyAnalysis, IrrelevantSubscripts) {
24342434
&ld.GetLoopByIndex(0)};
24352435
LoopDependenceAnalysis analysis{context.get(), loops};
24362436

2437-
const Instruction* store[1];
2437+
const Instruction* store[1] = {};
24382438
int stores_found = 0;
24392439
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 25)) {
24402440
if (inst.opcode() == spv::Op::OpStore) {
@@ -2470,7 +2470,7 @@ TEST(DependencyAnalysis, IrrelevantSubscripts) {
24702470
&ld.GetLoopByIndex(0)};
24712471
LoopDependenceAnalysis analysis{context.get(), loops};
24722472

2473-
const Instruction* store[1];
2473+
const Instruction* store[1] = {};
24742474
int stores_found = 0;
24752475
for (const Instruction& inst : *spvtest::GetBasicBlock(f, 56)) {
24762476
if (inst.opcode() == spv::Op::OpStore) {

0 commit comments

Comments
 (0)