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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:7e322d576eb6a87607215196bec62d3348e65b0e

commit r15-937-g7e322d576eb6a87607215196bec62d3348e65b0e
Author: Rainer Orth <r...@cebitec.uni-bielefeld.de>
Date:   Fri May 31 09:29:38 2024 +0200

    testsuite: Adjust several dg-additional-files-options calls [PR115294]

    A recent patch

    commit bdc264a16e327c63d133131a695a202fbbc0a6a0
    Author: Alexandre Oliva <ol...@adacore.com>
    Date:   Thu May 30 02:06:48 2024 -0300

        [testsuite] conditionalize dg-additional-sources on target and type

    added two additional args to dg-additional-files-options.
    Unfortunately, this completely broke several testsuites like

    ERROR: tcl error sourcing
/vol/gcc/src/hg/master/local/libatomic/testsuite/../../gcc/testsuite/lib/gcc-dg.exp.
    wrong # args: should be "dg-additional-files-options options source dest
type"

    since the patch forgot to adjust some of the callers.

    This patch fixes that.

    Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11, and
    x86_64-pc-linux-gnu.

    2024-05-31  Rainer Orth  <r...@cebitec.uni-bielefeld.de>

            libatomic:
            PR testsuite/115294
            * testsuite/lib/libatomic.exp (libatomic_target_compile): Pass new
            dg-additional-files-options args.

            libgomp:
            PR testsuite/115294
            * testsuite/lib/libgomp.exp (libgomp_target_compile): Pass new
            dg-additional-files-options args.

            libitm:
            PR testsuite/115294
            * testsuite/lib/libitm.exp (libitm_target_compile): Pass new
            dg-additional-files-options args.

            libphobos:
            PR testsuite/115294
            * testsuite/lib/libphobos.exp (libphobos_target_compile): Pass new
            dg-additional-files-options args.

            libvtv:
            PR testsuite/115294
            * testsuite/lib/libvtv.exp (libvtv_target_compile): Pass new
            dg-additional-files-options args.

Reply via email to