[Bug middle-end/88587] ICE in expand_debug_locations, at cfgexpand.c:5450
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 15 08:54:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88587
--- Comment #16 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Apr 15 08:53:24 2019
New Revision: 270365
URL: https://gcc.gnu.org/viewcvs?rev=270365&root=gcc&view=rev
Log:
Backport r268060
2019-04-15 Martin Liska <mliska@suse.cz>
Backport from mainline
2019-01-18 Martin Liska <mliska@suse.cz>
Richard Biener <rguenther@suse.de>
PR middle-end/88587
* cgraph.h (create_version_clone_with_body): Add new argument
with attributes.
* cgraphclones.c (cgraph_node::create_version_clone): Add
DECL_ATTRIBUTES to a newly created decl. And call
valid_attribute_p so that proper cl_target_optimization_node
is set for the newly created declaration.
* multiple_target.c (create_target_clone): Set DECL_ATTRIBUTES
for declaration.
(expand_target_clones): Do not call valid_attribute_p, it must
be already done.
* tree-inline.c (copy_decl_for_dup_finish): Reset mode for
vector types.
2019-04-15 Martin Liska <mliska@suse.cz>
Backport from mainline
2019-01-18 Martin Liska <mliska@suse.cz>
PR middle-end/88587
* g++.target/i386/pr88587.C: New test.
* gcc.target/i386/mvc13.c: New test.
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/cgraph.h
branches/gcc-8-branch/gcc/cgraphclones.c
branches/gcc-8-branch/gcc/multiple_target.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/tree-inline.c
More information about the Gcc-bugs
mailing list