Skip to content

Commit 558345d

Browse files
authored
Upgrade gcc CI to use gcc13 (#86051)
* Upgrade gcc CI to use gcc13 * Fix a Wstrict-prototypes
1 parent e62cb64 commit 558345d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

eng/pipelines/common/platform-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ jobs:
348348
targetRid: linux-x64
349349
platform: linux_x64
350350
shouldContinueOnError: ${{ parameters.shouldContinueOnError }}
351-
container: debian-11-gcc12-amd64
351+
container: debian-12-gcc13-amd64
352352
jobParameters:
353353
runtimeFlavor: ${{ parameters.runtimeFlavor }}
354354
buildConfig: ${{ parameters.buildConfig }}

eng/pipelines/common/templates/pipeline-with-resources.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ resources:
7474
env:
7575
ROOTFS_DIR: /crossrootfs/riscv64
7676

77-
- container: debian-11-gcc12-amd64
78-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-gcc12-amd64
77+
- container: debian-12-gcc13-amd64
78+
image: mcr.microsoft.com/dotnet-buildtools/prereqs:debian-12-gcc13-amd64
7979

8080
- container: linux_x64_llvmaot
8181
image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8

src/mono/mono/sgen/sgen-gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4070,7 +4070,7 @@ guint64 memory_pressure_removes[MEM_PRESSURE_COUNT] = {0, 0, 0, 0}; // history
40704070
const unsigned min_memorypressure_budget = 4 * 1024 * 1024; // 4 MB
40714071

40724072
// Resets pressure accounting after a gen2 GC has occurred.
4073-
static void check_pressure_counts ()
4073+
static void check_pressure_counts (void)
40744074
{
40754075
if (memory_pressure_gc_count != sgen_gc_collection_count(GENERATION_OLD)) {
40764076
memory_pressure_gc_count = sgen_gc_collection_count(GENERATION_OLD);

0 commit comments

Comments
 (0)