Skip to content

Commit a16258a

Browse files
committed
Suppress bogus GCC 16 warning
1 parent cd347cc commit a16258a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎GPU/GPUTracking/Merger/GPUTPCGMMerger.cxx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,10 @@ GPUd() void GPUTPCGMMerger::CollectMergedTracks(int32_t nBlocks, int32_t nThread
16271627

16281628
// unpack and sort clusters
16291629
if (nParts > 1 && (!revertInSegment ^ (leg & 1))) {
1630+
#pragma GCC diagnostic push // TODO: Fixme, needed for bug in GCC 16
1631+
#pragma GCC diagnostic ignored "-Warray-bounds"
16301632
GPUCommonAlgorithm::sort(trackParts, trackParts + nParts, [](const GPUTPCGMSectorTrack* a, const GPUTPCGMSectorTrack* b) {
1633+
#pragma GCC diagnostic pop
16311634
GPUCA_DETERMINISTIC_CODE( // clang-format off
16321635
if (a->X() != b->X()) {
16331636
return (a->X() > b->X());

0 commit comments

Comments
 (0)