[Bug fortran/92956] [10 Regression] 'libgomp.fortran/examples-4/async_target-2.f90' fails with offloading due to bogus -Wstringop-overflow warning

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 9 12:01:00 GMT 2020


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

--- Comment #15 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Thu Jan  9 11:59:41 2020
New Revision: 280041

URL: https://gcc.gnu.org/viewcvs?rev=280041&root=gcc&view=rev
Log:
PR middle-end/93200 - spurious -Wstringop-overflow due to assignment
vectorization to multiple members
PR fortran/92956 - 'libgomp.fortran/examples-4/async_target-2.f90' fails with
offloading due to bogus -Wstringop-overflow warning

gcc/testsuite/ChangeLog:

        PR middle-end/93200
        * gcc.dg/Wstringop-overflow-30.c: New test.

gcc/ChangeLog:

        PR middle-end/93200
        PR fortran/92956
        * builtins.c (compute_objsize): Avoid handling MEM_REFs of vector type.


Added:
    trunk/gcc/testsuite/gcc.dg/Wstringop-overflow-30.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list