# A simple script that generates loongarch-evolution.h
# from genopts/isa-evolution.in
#
-# Copyright (C) 2021-2025 Free Software Foundation, Inc.
+# Copyright (C) 2021-2026 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
function copyright_header(from_year,to_year)
{
if (to_year == "")
- print " Copyright (C) " from_year \
+ # The weird " " in the middle of a word is to make
+ # contrib/update_copyright.py happy.
+ print " Copy" "right (C) " from_year \
" Free Software Foundation, Inc."
else
- print " Copyright (C) " from_year "-" to_year \
+ print " Copy" "right (C) " from_year "-" to_year \
" Free Software Foundation, Inc."
print ""
print "This file is part of GCC."
print " Please do not edit this file directly."
print ""
- copyright_header(2023, 2025)
+ copyright_header(2023, 2026)
print "*/"
print ""
print " Please do not edit this file directly."
print ""
- copyright_header(2023, 2025)
+ copyright_header(2023, 2026)
print "*/"
print ""
print " Please do not edit this file directly."
print ""
- copyright_header(2025)
+ copyright_header(2025, 2026)
print "*/"
print ""
#!/usr/bin/env python3
-# Copyright (C) 2022-2025 Free Software Foundation, Inc.
+# Copyright (C) 2022-2026 Free Software Foundation, Inc.
# This file is part of GCC.
# GCC is free software; you can redistribute it and/or modify
%struct-type
%{{
/* This file is auto-generated by {:s}. */
-/* Copyright (C) 2022-{:s} Free Software Foundation, Inc.
+/* Copy{:s}right (C) 2022-{:s} Free Software Foundation, Inc.
This file is part of GCC.
# as defined in the C++ language specification. The result is used in the
# get_std_name_hint functions.
# throws an exception.
-#""".format(script, time.strftime('%Y')))
+#""".format(script, "", time.strftime('%Y')))
header = ''
printed_header = False
for e in content: