Testsuite: Fix Winvalid-memory-model*.C
Corrects line numbers in Winvalid-memory-model test cases after a recent change added dg-additional-options.
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.
In Details
This commit corrects the dg-regexp directives in g++.dg/warn/Winvalid-memory-model-2.C and g++.dg/warn/Winvalid-memory-model.C. The line numbers were invalidated by commit r17-808, which added dg-additional-options without adjusting the expected line numbers checked by the test.
For Context
GCC's testsuite uses directives (dg-regexp) to check that the compiler emits the expected diagnostic messages (warnings, errors) at specific lines in the source code. If the source code or compiler options change, these line numbers may need to be adjusted to keep the tests accurate and prevent false failures.