[Bug testsuite/65364] FAIL: gcc.dg/uninit-19.c (test for warnings, line 22)

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 9 20:22:00 GMT 2019


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

--- Comment #8 from Iain Sandoe <iains at gcc dot gnu.org> ---
Author: iains
Date: Mon Sep  9 20:21:30 2019
New Revision: 275546

URL: https://gcc.gnu.org/viewcvs?rev=275546&root=gcc&view=rev
Log:
[Darwin, testsuite] Fix PR 65364 (uninit-19.c).

This test currently fails on Darwin, because the port inlines fn2 for
both PIC (and non-pic for m32). Fixed by adjusting the target condition.

2019-09-09  Iain Sandoe  <iain@sandoe.co.uk>

        Backport from mainline.
        2019-06-11  Iain Sandoe  <iain@sandoe.co.uk>

        PR testsuite/65364
        * gcc.dg/uninit-19.c (fn1): Adjust target condition for Darwin.
        (fn2): Likewise.


Modified:
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/uninit-19.c


More information about the Gcc-bugs mailing list