From: Cooper Qu <cooper...@linux.alibaba.com> Tested and pushed.
The incorrect copyright comment format causes build error: builddir/source//gcc/gcc/config/csky/csky-modes.def: In function ‘void create_modes()’: builddir/source//gcc/gcc/config/csky/csky-modes.def:1:4: error: ‘C’ was not declared in this scope ;; C-SKY extra machine modes. ^ builddir/source//gcc/gcc/config/csky/csky-modes.def:1:6: error: ‘SKY’ was not declared in this scope ;; C-SKY extra machine modes. ^ builddir/source//gcc/gcc/config/csky/csky-modes.def:2:16: error: ‘Copyright’ was not declared in this scope ;; Copyright (C) 2018-2021 Free Software Foundation, Inc. ^ builddir/source//gcc/gcc/config/csky/csky-modes.def:3:4: error: ‘Contributed’ was not declared in this scope ;; Contributed by C-SKY Microsystems and Mentor Graphics. ^ gcc/ChangeLog: * config/csky/csky-modes.def : Fix copyright. --- gcc/config/csky/csky-modes.def | 38 +++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/gcc/config/csky/csky-modes.def b/gcc/config/csky/csky-modes.def index 9062efcf929..109ee514040 100644 --- a/gcc/config/csky/csky-modes.def +++ b/gcc/config/csky/csky-modes.def @@ -1,22 +1,22 @@ -;; C-SKY extra machine modes. -;; Copyright (C) 2018-2021 Free Software Foundation, Inc. -;; Contributed by C-SKY Microsystems and Mentor Graphics. -;; -;; This file is part of GCC. -;; -;; GCC is free software; you can redistribute it and/or modify it -;; under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. -;; -;; GCC is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. -;; -;; You should have received a copy of the GNU General Public License -;; along with GCC; see the file COPYING3. If not see -;; <http://www.gnu.org/licenses/>. */ +/* C-SKY extra machine modes. + Copyright (C) 2018-2021 Free Software Foundation, Inc. + Contributed by C-SKY Microsystems and Mentor Graphics. + + This file is part of GCC. + + GCC is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3, or (at your + option) any later version. + + GCC is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public + License for more details. + + You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. */ /* Float modes. */ FLOAT_MODE (HF, 2, ieee_half_format); /* Half-precision floating point */ -- 2.26.2