[PATCH] Strip target_clones in copy attribute (PR lto/90500).

Martin Liška mliska@suse.cz
Tue May 21 09:32:00 GMT 2019


Hi.

As suggested by Joseph, the patch is about not copying
target_clones attributes in handle_copy_attribute.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Ready to be installed?
Thanks,
Martin

gcc/c-family/ChangeLog:

2019-05-21  Martin Liska  <mliska@suse.cz>

	PR lto/90500
	* c-attribs.c (handle_copy_attribute): Do not copy
	target_clones attribute.

gcc/testsuite/ChangeLog:

2019-05-21  Martin Liska  <mliska@suse.cz>

	PR lto/90500
	* gcc.target/i386/pr90500-1.c: Make the test-case valid
	now.
---
 gcc/c-family/c-attribs.c                  | 3 ++-
 gcc/testsuite/gcc.target/i386/pr90500-1.c | 3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Strip-target_clones-in-copy-attribute-PR-lto-90500.patch
Type: text/x-patch
Size: 1295 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190521/98329051/attachment.bin>


More information about the Gcc-patches mailing list