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

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 13 16:48:00 GMT 2017


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

--- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Wed Sep 13 16:47:40 2017
New Revision: 252379

URL: https://gcc.gnu.org/viewcvs?rev=252379&root=gcc&view=rev
Log:
Fix target attribute handling (PR c++/81355).

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-08-10  Martin Liska  <mliska@suse.cz>

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

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


More information about the Gcc-bugs mailing list