[Bug c++/81355] SegFault when using attribute target dispatch with empty parameter
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 15 08:14:00 GMT 2017
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
More information about the Gcc-bugs
mailing list