[Bug libstdc++/81706] std::sin vectorization bug
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 25 08:06:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81706
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct 25 08:05:58 2017
New Revision: 254069
URL: https://gcc.gnu.org/viewcvs?rev=254069&root=gcc&view=rev
Log:
PR libstdc++/81706
* attribs.c (attribute_value_equal): Use omp_declare_simd_clauses_equal
for comparison of OMP_CLAUSEs regardless of flag_openmp{,_simd}.
(duplicate_one_attribute, copy_attributes_to_builtin): New functions.
* attribs.h (duplicate_one_attribute, copy_attributes_to_builtin): New
declarations.
* c-decl.c (merge_decls): Copy "omp declare simd" attributes from
newdecl to corresponding __builtin_ if any.
* decl.c (duplicate_decls): Copy "omp declare simd" attributes from
newdecl to corresponding __builtin_ if any.
* gcc.target/i386/pr81706.c: New test.
* g++.dg/ext/pr81706.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ext/pr81706.C
trunk/gcc/testsuite/gcc.target/i386/pr81706.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/attribs.c
trunk/gcc/attribs.h
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-decl.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list