diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2023-04-02 11:13:33 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2023-04-02 11:14:49 +0200 |
commit | 472783f3137475b82baadac31cca31021b69aba9 (patch) | |
tree | 3ea313b23b4f3c945980d87a41c7b7b01b283f7b /gcc/tree-ssa-loop-split.cc | |
parent | 17367562f120f28639e5e17a5c5b00d673ac9fd9 (diff) | |
download | gcc-472783f3137475b82baadac31cca31021b69aba9.zip gcc-472783f3137475b82baadac31cca31021b69aba9.tar.gz gcc-472783f3137475b82baadac31cca31021b69aba9.tar.bz2 |
Resolve 'error: unused parameter' in 'gcc/cp/decl2.cc:one_static_initialization_or_destruction'
[...]/gcc/cp/decl2.cc: In function ‘void one_static_initialization_or_destruction(tree, tree, bool, bool)’:
[...]/gcc/cp/decl2.cc:4171:48: error: unused parameter ‘omp_target’ [-Werror=unused-parameter]
4171 | bool omp_target)
| ~~~~~^~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [cp/decl2.o] Error 1
Fix-up for og12 commit abcb5dbac666513c798e574808f849f76a1c0799
"[og12] OpenMP: Constructors and destructors for "declare target" static aggregates".
gcc/cp/
* decl2.cc (one_static_initialization_or_destruction): Remove
'omp_target' formal parameter. Adjust all users.
Diffstat (limited to 'gcc/tree-ssa-loop-split.cc')
0 files changed, 0 insertions, 0 deletions