Landing: cd1ace7fd8e9

Project / Subsystem

gcc / testsuite

Date

2026-08-18

Author

Matt Turner

Commit

cd1ace7fd8e9c6fd4ebc475c52d5c04bb9f2bee3

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
testsuite
patch_id
—
commit_hash
cd1ace7fd8e9c6fd4ebc475c52d5c04bb9f2bee3
source_type
github
headline
Disable small data for attr-retain tests on Alpha
tldr
Alpha's small data section handling required tests for `attr-retain` to be run with -G0.
author
Matt Turner
outcome
committed
performance_win
false
breaking_change
false
series_id
gcc:testsuite: disable small data for attr-retain tests on alpha
series_parts
[]
tags
  • • testsuite
  • • alpha
  • • elf
discussion_id_link
—
bugzilla_pr
—
date
2026-08-18T00:00:00.000Z

Tests for the attr-retain attribute rely on specific ELF section flags (e.g., ‘R’ for read-only). Alpha, however, places small objects into gp-relative small data areas (.sdata/.sbss) with an ‘s’ flag. This commit enables the -G0 flag for these tests on Alpha, which forces all objects into general sections, resolving 57 test failures across C and C++ test suites.