https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69018

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Pietro Monteiro <[email protected]>:

https://gcc.gnu.org/g:b129ff0880c6d10e0379b46889d01255ee8d1f82

commit r16-7202-gb129ff0880c6d10e0379b46889d01255ee8d1f82
Author: Pietro Monteiro <[email protected]>
Date:   Fri Jan 30 20:22:49 2026 -0500

    libitm: testsuite: don't include libstdc++ paths in test names [PR69018]

    Libitm C++ tests pass -B/full/path/to/build/libstc++/src/.libs on the
    options argument to dg-runtest and the libstdc++ include paths as
    the default-extra-options.  This causes 2 problems:

    1) If a test uses `dg-options' then the libstdc++ include paths are
    not passed to the compiler.

    2) The `-B/full/path/to/build/libstc++/src/.libs' gets added to the
    test name.  This makes comparing build done in different directories
    harder because the hardcoded full path.

    Stop passing options and default-extra-options to dg-runtest and move
    dealing with the path-releated flags to libitm_target_compile in
    libitm.exp, where they are added to additional_flags.

    Also change the FSF address to the website in the license text.

    libitm/ChangeLog:
            PR libitm/69018
            * testsuite/lib/libitm.exp (libitm_target_compile): Add
            lang_include_flags and `-B${blddir}/${lang_library_paths}' to
            additional_flags.
            * testsuite/libitm.c++/c++.exp: Set lang_library_paths and
lang_include_flags.

    Signed-off-by: Pietro Monteiro <[email protected]>

Reply via email to