This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81355] SegFault when using attribute target dispatch with empty parameter
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Sep 2017 08:14:30 +0000
- Subject: [Bug c++/81355] SegFault when using attribute target dispatch with empty parameter
- Auto-submitted: auto-generated
- References: <bug-81355-4@http.gcc.gnu.org/bugzilla/>
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