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

--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

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

commit r14-11759-gaef1a618e200158e5f83331ae618492d1ef3573d
Author: Dimitar Dimitrov <dimi...@dinux.eu>
Date:   Thu Oct 24 19:59:42 2024 +0300

    testsuite: Require effective target pie for pr113197

    The test for PR113197 explicitly enables PIE.  But targets without PIE
    emit warnings when -fpie is passed (e.g. pru and avr), which causes the
    test to fail.

    Fix by adding an effective target requirement for PIE.

    With this patch, the test now is marked as unsupported for
    pru-unknown-elf.  Testing for x86_64-pc-linux-gnu passes with current
    mainline, and fails if the fix from r15-4018-g02f4efe3c12cf7 is
    reverted.

            PR ipa/113197

    gcc/testsuite/ChangeLog:

            * gcc.dg/lto/pr113197_0.c: Require effective target pie.

    Signed-off-by: Dimitar Dimitrov <dimi...@dinux.eu>
    (cherry picked from commit bcd56224d74cdd8dc3c77097de51e97bc7b6d181)

Reply via email to