Landing: c9a32ab2d140

Project / Subsystem

gcc / i386

Date

2026-05-01

Author

Xi Ruoyao

Commit

c9a32ab2d1405c6d9e2975981d4e833836953407

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
i386
patch_id
commit_hash
c9a32ab2d1405c6d9e2975981d4e833836953407
source_type
github
headline
i386: Disable stack protector for tests allocating arrays on the stack.
tldr
Stack protection is now disabled for specific i386 tests that allocate arrays on the stack to prevent failures when stack protection is enabled by default.
author
Xi Ruoyao
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • i386
  • testsuite
  • security
discussion_id_link
bugzilla_pr
date
2026-05-01T00:00:00.000Z

Stack protection is now explicitly disabled for five i386 testsuite tests. These tests use check_function_bodies against functions that allocate arrays on the stack. With --enable-default-ssp, these tests fail because of the added stack protector code. The -fno-stack-protector option is added to the testsuite directives to disable stack protection and ensure the tests pass.