Landing: b5248505eb52

Project / Subsystem

gcc / testsuite

Date

2026-05-27

Author

Marek Polacek

Commit

b5248505eb5276c2e71264e641cafeb1d826faed

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
testsuite
patch_id
commit_hash
b5248505eb5276c2e71264e641cafeb1d826faed
source_type
github
headline
Testsuite: Fix Winvalid-memory-model*.C
tldr
Corrects line numbers in Winvalid-memory-model test cases after a recent change added dg-additional-options.
author
Marek Polacek
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • testsuite
  • warning
  • memory model
discussion_id_link
bugzilla_pr
date
2026-05-27T00:00:00.000Z

This commit fixes the dg-regexp line numbers in the Winvalid-memory-model*.C test files. A previous commit added dg-additional-options to these tests, which shifted the expected line numbers for the regular expression checks. This commit updates the line numbers, restoring the tests to proper functionality.