This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/81355] SegFault when using attribute target dispatch with empty parameter


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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Sep 15 08:13:58 2017
New Revision: 252785

URL: https://gcc.gnu.org/viewcvs?rev=252785&root=gcc&view=rev
Log:
Backport r251020

2017-09-15  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2017-08-10  Martin Liska  <mliska@suse.cz>

        PR c++/81355
        * c-attribs.c (handle_target_attribute):
        Report warning for an empty string argument of target attribute.
2017-09-15  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2017-08-10  Martin Liska  <mliska@suse.cz>

        PR c++/81355
        * g++.dg/other/pr81355.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/other/pr81355.C
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/c-family/c-attribs.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]