diff --git a/gcc/ada/doc/share/gnu_free_documentation_license.rst b/gcc/ada/doc/share/gnu_free_documentation_license.rst
index c18cf6673c51c35de4e490667b91a8dbe42fa547..0235545155f4025a7f197b7378542a2ec2dfe163 100644
--- a/gcc/ada/doc/share/gnu_free_documentation_license.rst
+++ b/gcc/ada/doc/share/gnu_free_documentation_license.rst
@@ -7,7 +7,7 @@ GNU Free Documentation License
 Version 1.3, 3 November 2008
 
 Copyright  2000, 2001, 2002, 2007, 2008  Free Software Foundation, Inc
-http://fsf.org/
+https://fsf.org/
 
 Everyone is permitted to copy and distribute verbatim copies of this
 license document, but changing it is not allowed.
@@ -383,7 +383,7 @@ The Free Software Foundation may publish new, revised versions
 of the GNU Free Documentation License from time to time.  Such new
 versions will be similar in spirit to the present version, but may
 differ in detail to address new problems or concerns.  See
-http://www.gnu.org/copyleft/.
+https://www.gnu.org/copyleft/.
 
 Each version of the License is given a distinguishing version number.
 If the Document specifies that a particular numbered version of this
diff --git a/gcc/ada/gnat-style.texi b/gcc/ada/gnat-style.texi
index a7d666c0b779b291014c9b211af7bbcd8904a615..1e77dd15d41e163a5cfd527a9c0fcaa6c7c711a2 100644
--- a/gcc/ada/gnat-style.texi
+++ b/gcc/ada/gnat-style.texi
@@ -953,7 +953,7 @@ except that they are all lower case.
 Version 1.3, 3 November 2008
 
 Copyright  2000, 2001, 2002, 2007, 2008  Free Software Foundation, Inc
-@indicateurl{http://fsf.org/}
+@indicateurl{https://fsf.org/}
 
 Everyone is permitted to copy and distribute verbatim copies of this
 license document, but changing it is not allowed.
@@ -1349,7 +1349,7 @@ The Free Software Foundation may publish new, revised versions
 of the GNU Free Documentation License from time to time.  Such new
 versions will be similar in spirit to the present version, but may
 differ in detail to address new problems or concerns.  See
-@indicateurl{http://www.gnu.org/copyleft/}.
+@indicateurl{https://www.gnu.org/copyleft/}.
 
 Each version of the License is given a distinguishing version number.
 If the Document specifies that a particular numbered version of this
diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi
index 70e8c36bff26db370749ba06c10c9fa6bf1d85bd..2b5cbf721c46c78d5a8ffb0b08125b30bfb922b9 100644
--- a/gcc/ada/gnat_rm.texi
+++ b/gcc/ada/gnat_rm.texi
@@ -29893,7 +29893,7 @@ extension of package System.
 Version 1.3, 3 November 2008
 
 Copyright  2000, 2001, 2002, 2007, 2008  Free Software Foundation, Inc
-@indicateurl{http://fsf.org/}
+@indicateurl{https://fsf.org/}
 
 Everyone is permitted to copy and distribute verbatim copies of this
 license document, but changing it is not allowed.
@@ -30289,7 +30289,7 @@ The Free Software Foundation may publish new, revised versions
 of the GNU Free Documentation License from time to time.  Such new
 versions will be similar in spirit to the present version, but may
 differ in detail to address new problems or concerns.  See
-@indicateurl{http://www.gnu.org/copyleft/}.
+@indicateurl{https://www.gnu.org/copyleft/}.
 
 Each version of the License is given a distinguishing version number.
 If the Document specifies that a particular numbered version of this
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 22b679522aa9a1b906ec32f891c86a811b42de59..63e4f9d10faf64a58488309ac6071177ca216f85 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -28760,7 +28760,7 @@ problems.
 Version 1.3, 3 November 2008
 
 Copyright  2000, 2001, 2002, 2007, 2008  Free Software Foundation, Inc
-@indicateurl{http://fsf.org/}
+@indicateurl{https://fsf.org/}
 
 Everyone is permitted to copy and distribute verbatim copies of this
 license document, but changing it is not allowed.
@@ -29156,7 +29156,7 @@ The Free Software Foundation may publish new, revised versions
 of the GNU Free Documentation License from time to time.  Such new
 versions will be similar in spirit to the present version, but may
 differ in detail to address new problems or concerns.  See
-@indicateurl{http://www.gnu.org/copyleft/}.
+@indicateurl{https://www.gnu.org/copyleft/}.
 
 Each version of the License is given a distinguishing version number.
 If the Document specifies that a particular numbered version of this
diff --git a/gcc/d/gdc.texi b/gcc/d/gdc.texi
index bfec15688572f9518b7ba379c3a094bb36a509f1..d93d2e8001a2da1f1efba57a3c66945356366d4b 100644
--- a/gcc/d/gdc.texi
+++ b/gcc/d/gdc.texi
@@ -326,14 +326,14 @@ values are supported:
 @item all
 Turns on all upcoming D language features.
 @item dip1000
-Implements @uref{http://wiki.dlang.org/DIP1000} (Scoped pointers).
+Implements @uref{https://wiki.dlang.org/DIP1000} (Scoped pointers).
 @item dip1008
-Implements @uref{http://wiki.dlang.org/DIP1008} (Allow exceptions in
+Implements @uref{https://wiki.dlang.org/DIP1008} (Allow exceptions in
 @code{@@nogc} code).
 @item dip1021
-Implements @uref{http://wiki.dlang.org/DIP1021} (Mutable function arguments).
+Implements @uref{https://wiki.dlang.org/DIP1021} (Mutable function arguments).
 @item dip25
-Implements @uref{http://wiki.dlang.org/DIP25} (Sealed references).
+Implements @uref{https://wiki.dlang.org/DIP25} (Sealed references).
 @item dtorfields
 Turns on generation for destructing fields of partially constructed objects.
 @item fieldwise
@@ -383,7 +383,7 @@ are supported:
 @item all
 Turns off all revertable D language features.
 @item dip25
-Reverts @uref{http://wiki.dlang.org/DIP25} (Sealed references).
+Reverts @uref{https://wiki.dlang.org/DIP25} (Sealed references).
 @item dtorfields
 Turns off generation for destructing fields of partially constructed objects.
 @item markdown
diff --git a/gcc/doc/contrib.texi b/gcc/doc/contrib.texi
index a8d4d5df055cc8994ea0ef22ba41afd83df78d28..9f70cb5ed435a09268e06b1822ba7c8574ce4531 100644
--- a/gcc/doc/contrib.texi
+++ b/gcc/doc/contrib.texi
@@ -190,7 +190,7 @@ Eric Christopher for his Java porting help and clean-ups.
 Branko Cibej for more warning contributions.
 
 @item
-The @uref{http://www.gnu.org/software/classpath/,,GNU Classpath project}
+The @uref{https://www.gnu.org/software/classpath/,,GNU Classpath project}
 for all of their merged runtime code.
 
 @item
diff --git a/gcc/doc/contribute.texi b/gcc/doc/contribute.texi
index a23240d1a279865e26d4ed47c975714f0908605d..e3c1d435b0e60952f3acc90df6f0a150028a72d3 100644
--- a/gcc/doc/contribute.texi
+++ b/gcc/doc/contribute.texi
@@ -7,18 +7,18 @@
 
 If you would like to help pretest GCC releases to assure they work well,
 current development sources are available via Git (see
-@uref{http://gcc.gnu.org/git.html}).  Source and binary snapshots are
-also available for FTP; see @uref{http://gcc.gnu.org/snapshots.html}.
+@uref{https://gcc.gnu.org/git.html}).  Source and binary snapshots are
+also available for FTP; see @uref{https://gcc.gnu.org/snapshots.html}.
 
 If you would like to work on improvements to GCC, please read the
 advice at these URLs:
 
 @smallexample
-@uref{http://gcc.gnu.org/contribute.html}
-@uref{http://gcc.gnu.org/contributewhy.html}
+@uref{https://gcc.gnu.org/contribute.html}
+@uref{https://gcc.gnu.org/contributewhy.html}
 @end smallexample
 
 @noindent
 for information on how to make useful contributions and avoid
 duplication of effort.  Suggested projects are listed at
-@uref{http://gcc.gnu.org/projects/}.
+@uref{https://gcc.gnu.org/projects/}.
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 1f6af5d773e535d3b1811ecbeef7c9fa9aa9b3b6..9676a17406e3dc08602bd18c232c3f960e6ea03f 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -12303,7 +12303,7 @@ All objects must be the same size.
 
 There are 6 different memory orders that can be specified.  These map
 to the C++11 memory orders with the same names, see the C++11 standard
-or the @uref{http://gcc.gnu.org/wiki/Atomic/GCCMM/AtomicSync,GCC wiki
+or the @uref{https://gcc.gnu.org/wiki/Atomic/GCCMM/AtomicSync,GCC wiki
 on atomic synchronization} for detailed definitions.  Individual
 targets may also support additional memory orders for use on specific
 architectures.  Refer to the target documentation for details of
@@ -25016,7 +25016,7 @@ of foo is created by using the same function signature but with a
 different target string.  Function foo is called or a pointer to it is
 taken just like a regular function.  GCC takes care of doing the
 dispatching to call the right version at runtime.  Refer to the
-@uref{http://gcc.gnu.org/wiki/FunctionMultiVersioning, GCC wiki on
+@uref{https://gcc.gnu.org/wiki/FunctionMultiVersioning, GCC wiki on
 Function Multiversioning} for more details.
 
 @node Type Traits
diff --git a/gcc/doc/gccint.texi b/gcc/doc/gccint.texi
index 67137a9376a736e3705fc0301a68d753b246b2c9..c68f540543eef9fa8678687f43221317fda70496 100644
--- a/gcc/doc/gccint.texi
+++ b/gcc/doc/gccint.texi
@@ -95,7 +95,7 @@ interfaces to GCC front ends, and how support for a target system is
 implemented in GCC@.
 
 Additional tutorial information is linked to from
-@uref{http://gcc.gnu.org/readings.html}.
+@uref{https://gcc.gnu.org/readings.html}.
 
 @menu
 * Contributing::    How to contribute to testing and developing GCC.
diff --git a/gcc/doc/gnu.texi b/gcc/doc/gnu.texi
index 641fe307253a317e68ad43dad98b68ffa020832b..8ff116aedf5e6c652b1a97d017d6352a0212ff2e 100644
--- a/gcc/doc/gnu.texi
+++ b/gcc/doc/gnu.texi
@@ -15,6 +15,6 @@ systems.
 
 For more information, see:
 @smallexample
-@uref{http://www.gnu.org/}
-@uref{http://www.gnu.org/gnu/linux-and-gnu.html}
+@uref{https://www.gnu.org/}
+@uref{https://www.gnu.org/gnu/linux-and-gnu.html}
 @end smallexample
diff --git a/gcc/doc/implement-c.texi b/gcc/doc/implement-c.texi
index b656ac8ec4f1cfe68a46595c97ebfda8f9bb7fe1..c5eea37adc62ecc36aa8d0aa6188e67ce413483a 100644
--- a/gcc/doc/implement-c.texi
+++ b/gcc/doc/implement-c.texi
@@ -16,7 +16,7 @@ implementation-defined in one version of the standard.
 Some choices depend on the externally determined ABI for the platform
 (including standard character encodings) which GCC follows; these are
 listed as ``determined by ABI'' below.  @xref{Compatibility, , Binary
-Compatibility}, and @uref{http://gcc.gnu.org/readings.html}.  Some
+Compatibility}, and @uref{https://gcc.gnu.org/readings.html}.  Some
 choices are documented in the preprocessor manual.
 @xref{Implementation-defined behavior, , Implementation-defined
 behavior, cpp, The C Preprocessor}.  Some choices are made by the
diff --git a/gcc/doc/implement-cxx.texi b/gcc/doc/implement-cxx.texi
index 115f3fb341d33bfc2d26ca34d836362d5d49f960..47034033293ae87bc494eb7c67f6449cca2e3365 100644
--- a/gcc/doc/implement-cxx.texi
+++ b/gcc/doc/implement-cxx.texi
@@ -16,7 +16,7 @@ one version of the standard.
 Some choices depend on the externally determined ABI for the platform
 (including standard character encodings) which GCC follows; these are
 listed as ``determined by ABI'' below.  @xref{Compatibility, , Binary
-Compatibility}, and @uref{http://gcc.gnu.org/readings.html}.  Some
+Compatibility}, and @uref{https://gcc.gnu.org/readings.html}.  Some
 choices are documented in the preprocessor manual.
 @xref{Implementation-defined behavior, , Implementation-defined
 behavior, cpp, The C Preprocessor}.  Some choices are documented in
diff --git a/gcc/doc/include/fdl.texi b/gcc/doc/include/fdl.texi
index 7fa222c5f32e61c75f6fb9ab80bb7834d2bff6ba..e2bcdfd579b2b5ca30beb91fa9dde4df179b6af8 100644
--- a/gcc/doc/include/fdl.texi
+++ b/gcc/doc/include/fdl.texi
@@ -7,7 +7,7 @@ gpl(7), fsf-funding(7).
 @c man end
 @c man begin COPYRIGHT
 Copyright @copyright{} 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
-@uref{http://fsf.org/}
+@uref{https://fsf.org/}
 
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.
@@ -46,7 +46,7 @@ of this license document, but changing it is not allowed.
 
 @display
 Copyright @copyright{} 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
-@uref{http://fsf.org/}
+@uref{https://fsf.org/}
 
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.
@@ -454,7 +454,7 @@ The Free Software Foundation may publish new, revised versions
 of the GNU Free Documentation License from time to time.  Such new
 versions will be similar in spirit to the present version, but may
 differ in detail to address new problems or concerns.  See
-@uref{http://www.gnu.org/copyleft/}.
+@uref{https://www.gnu.org/copyleft/}.
 
 Each version of the License is given a distinguishing version number.
 If the Document specifies that a particular numbered version of this
diff --git a/gcc/doc/include/gpl_v3.texi b/gcc/doc/include/gpl_v3.texi
index 86d81904ec2f950d9e671fa144a84ae09de9f91d..c978f2154d2027de906cd03be80f87741ff17000 100644
--- a/gcc/doc/include/gpl_v3.texi
+++ b/gcc/doc/include/gpl_v3.texi
@@ -20,7 +20,7 @@ license document, but changing it is not allowed.
 @c This file is intended to be included in another file.
 
 @display
-Copyright @copyright{} 2007 Free Software Foundation, Inc. @url{http://fsf.org/}
+Copyright @copyright{} 2007 Free Software Foundation, Inc. @url{https://fsf.org/}
 
 Everyone is permitted to copy and distribute verbatim copies of this
 license document, but changing it is not allowed.
@@ -699,7 +699,7 @@ 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 this program.  If not, see @url{http://www.gnu.org/licenses/}.
+along with this program.  If not, see @url{https://www.gnu.org/licenses/}.
 @end smallexample
 
 Also add information on how to contact you by electronic and paper mail.
@@ -722,7 +722,7 @@ use an ``about box''.
 You should also get your employer (if you work as a programmer) or school,
 if any, to sign a ``copyright disclaimer'' for the program, if necessary.
 For more information on this, and how to apply and follow the GNU GPL, see
-@url{http://www.gnu.org/licenses/}.
+@url{https://www.gnu.org/licenses/}.
 
 The GNU General Public License does not permit incorporating your
 program into proprietary programs.  If your program is a subroutine
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 549da22aa161975c1d43c6481b2b628c4221c658..7f247b699e7d535f86d42313fd2895aba3404049 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -137,7 +137,7 @@ Free Documentation License}''.
 @end ifnothtml
 
 The latest version of this document is always available at
-@uref{http://gcc.gnu.org/install/,,http://gcc.gnu.org/install/}.
+@uref{https://gcc.gnu.org/install/,,https://gcc.gnu.org/install/}.
 It refers to the current development sources, instructions for
 specific released versions are included with the sources.
 
@@ -159,7 +159,7 @@ We recommend you browse the entire generic installation instructions before
 you proceed.
 
 Lists of successful builds for released versions of GCC are
-available at @uref{http://gcc.gnu.org/buildstat.html}.
+available at @uref{https://gcc.gnu.org/buildstat.html}.
 These lists are updated as new information becomes available.
 
 The installation procedure itself is broken into five steps.
@@ -562,10 +562,10 @@ own sources.
 @cindex Downloading GCC
 @cindex Downloading the Source
 
-GCC is distributed via @uref{http://gcc.gnu.org/git.html,,git} and via
+GCC is distributed via @uref{https://gcc.gnu.org/git.html,,git} and via
 HTTPS as tarballs compressed with @command{gzip} or @command{bzip2}.
 
-Please refer to the @uref{http://gcc.gnu.org/releases.html,,releases web page}
+Please refer to the @uref{https://gcc.gnu.org/releases.html,,releases web page}
 for information on how to obtain GCC@.
 
 The source distribution includes the C, C++, Objective-C, Fortran,
@@ -2450,7 +2450,7 @@ Only supported for the AVR target. Specifies that @samp{AVR-Libc} is
 being used as the target C@tie{} library.  This causes float support
 functions like @code{__addsf3} to be omitted from @file{libgcc.a} on
 the assumption that it will be provided by @file{libm.a}.  For more
-technical details, cf. @uref{http://gcc.gnu.org/PR54461,,PR54461}.
+technical details, cf. @uref{https://gcc.gnu.org/PR54461,,PR54461}.
 It is not supported for
 RTEMS configurations, which currently use newlib.  The option is
 supported since version 4.7.2 and is the default in 4.8.0 and newer.
@@ -3059,9 +3059,9 @@ the code quality may be much worse.
 Before you install GCC, we encourage you to run the testsuites and to
 compare your results with results from a similar configuration that have
 been submitted to the
-@uref{http://gcc.gnu.org/ml/gcc-testresults/,,gcc-testresults mailing list}.
+@uref{https://gcc.gnu.org/ml/gcc-testresults/,,gcc-testresults mailing list}.
 Some of these archived results are linked from the build status lists
-at @uref{http://gcc.gnu.org/buildstat.html}, although not everyone who
+at @uref{https://gcc.gnu.org/buildstat.html}, although not everyone who
 reports a successful build runs the testsuites and submits the results.
 This step is optional and may require you to download additional software,
 but it can give you confidence in your new GCC installation or point out
@@ -3073,7 +3073,7 @@ These are part of the full distribution, but if you downloaded the
 separately.
 
 Second, you must have the testing tools installed.  This includes
-@uref{http://www.gnu.org/software/dejagnu/,,DejaGnu}, Tcl, and Expect;
+@uref{https://www.gnu.org/software/dejagnu/,,DejaGnu}, Tcl, and Expect;
 the DejaGnu site has links to these.
 Some optional tests also require Python3 and pytest module.
 
@@ -3104,7 +3104,7 @@ might emit some harmless messages resembling
 @samp{WARNING: Couldn't find tool init file} that can be ignored.
 
 If you are testing a cross-compiler, you may want to run the testsuite
-on a simulator as described at @uref{http://gcc.gnu.org/simtest-howto.html}.
+on a simulator as described at @uref{https://gcc.gnu.org/simtest-howto.html}.
 
 @section How can you run the testsuite on selected tests?
 
@@ -3346,7 +3346,7 @@ make install-strip
 
 If you are bootstrapping a released version of GCC then please
 quickly review the build status page for your release, available from
-@uref{http://gcc.gnu.org/buildstat.html}.
+@uref{https://gcc.gnu.org/buildstat.html}.
 If your system is not listed for the version of GCC that you built,
 send a note to
 @email{gcc@@gcc.gnu.org} indicating
@@ -3509,7 +3509,7 @@ The @uref{https://osdn.net/projects/mingw/,,MinGW} and
 number of platforms.
 
 @item
-The @uref{http://gcc.gnu.org/wiki/GFortranBinaries,,GFortran Wiki} has
+The @uref{https://gcc.gnu.org/wiki/GFortranBinaries,,GFortran Wiki} has
 links to GNU Fortran binaries for several platforms.
 @end itemize
 
@@ -4176,7 +4176,7 @@ libstdc++-v3 documentation.
 @anchor{ix86-x-linux}
 @heading i?86-*-linux*
 As of GCC 3.3, binutils 2.13.1 or later is required for this platform.
-See @uref{http://gcc.gnu.org/PR10877,,bug 10877} for more information.
+See @uref{https://gcc.gnu.org/PR10877,,bug 10877} for more information.
 
 If you receive Signal 11 errors when building on GNU/Linux, then it is
 possible you have a hardware problem.  Further information on this can be
@@ -4380,19 +4380,19 @@ overflow severe error when the @option{-bbigtoc} option is used to link
 GCC-produced object files into an executable that overflows the TOC@.  A fix
 for APAR IX75823 (OVERFLOW DURING LINK WHEN USING GCC AND -BBIGTOC) is
 available from IBM Customer Support and from its
-@uref{http://techsupport.services.ibm.com/,,techsupport.services.ibm.com}
+@uref{https://techsupport.services.ibm.com/,,techsupport.services.ibm.com}
 website as PTF U455193.
 
 The AIX 4.3.2.1 linker (bos.rte.bind_cmds Level 4.3.2.1) will dump core
 with a segmentation fault when invoked by any version of GCC@.  A fix for
 APAR IX87327 is available from IBM Customer Support and from its
-@uref{http://techsupport.services.ibm.com/,,techsupport.services.ibm.com}
+@uref{https://techsupport.services.ibm.com/,,techsupport.services.ibm.com}
 website as PTF U461879.  This fix is incorporated in AIX 4.3.3 and above.
 
 The initial assembler shipped with AIX 4.3.0 generates incorrect object
 files.  A fix for APAR IX74254 (64BIT DISASSEMBLED OUTPUT FROM COMPILER FAILS
 TO ASSEMBLE/BIND) is available from IBM Customer Support and from its
-@uref{http://techsupport.services.ibm.com/,,techsupport.services.ibm.com}
+@uref{https://techsupport.services.ibm.com/,,techsupport.services.ibm.com}
 website as PTF U453956.  This fix is incorporated in AIX 4.3.1 and above.
 
 AIX provides National Language Support (NLS)@.  Compilers and assemblers
@@ -4641,7 +4641,7 @@ binaries are available at
 
 This version of GCC requires at least cctools-590.36.  The
 cctools-590.36 package referenced from
-@uref{http://gcc.gnu.org/ml/gcc/2006-03/msg00507.html} will not work
+@uref{https://gcc.gnu.org/ml/gcc/2006-03/msg00507.html} will not work
 on systems older than 10.3.9 (aka darwin7.9.0).
 
 @html
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index ca621577432cf9117a44e97693ff16ca034d1f91..e644c63767b88aa22459949990d8e97a880bd83a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -55,7 +55,7 @@ For instructions on reporting bugs, see
 @c man end
 @c man begin AUTHOR
 See the Info entry for @command{gcc}, or
-@w{@uref{http://gcc.gnu.org/onlinedocs/gcc/Contributors.html}},
+@w{@uref{https://gcc.gnu.org/onlinedocs/gcc/Contributors.html}},
 for contributors to GCC@.
 @c man end
 @end ignore
@@ -2355,7 +2355,7 @@ ISO C99.  This standard is substantially completely supported, modulo
 bugs and floating-point issues
 (mainly but not entirely relating to optional C99 features from
 Annexes F and G).  See
-@w{@uref{http://gcc.gnu.org/c99status.html}} for more information.  The
+@w{@uref{https://gcc.gnu.org/c99status.html}} for more information.  The
 names @samp{c9x} and @samp{iso9899:199x} are deprecated.
 
 @item c11
@@ -6720,7 +6720,7 @@ The standard is worded confusingly, therefore there is some debate
 over the precise meaning of the sequence point rules in subtle cases.
 Links to discussions of the problem, including proposed formal
 definitions, may be found on the GCC readings page, at
-@uref{http://gcc.gnu.org/@/readings.html}.
+@uref{https://gcc.gnu.org/@/readings.html}.
 
 This warning is enabled by @option{-Wall} for C and C++.
 
@@ -17329,7 +17329,7 @@ visibility so that the @samp{type_info} nodes are unified between
 the DSOs.
 
 An overview of these techniques, their benefits and how to use them
-is at @uref{http://gcc.gnu.org/@/wiki/@/Visibility}.
+is at @uref{https://gcc.gnu.org/@/wiki/@/Visibility}.
 
 @item -fstrict-volatile-bitfields
 @opindex fstrict-volatile-bitfields
@@ -25243,7 +25243,7 @@ generates 64-bit code when you select a 64-bit architecture, but you
 can use @option{-mgp32} to get 32-bit code instead.
 
 For information about the O64 ABI, see
-@uref{http://gcc.gnu.org/@/projects/@/mipso64-abi.html}.
+@uref{https://gcc.gnu.org/@/projects/@/mipso64-abi.html}.
 
 GCC supports a variant of the o32 ABI in which floating-point registers
 are 64 rather than 32 bits wide.  You can select this combination with
diff --git a/gcc/doc/passes.texi b/gcc/doc/passes.texi
index 9046cbed2d9088d4618f1984f99e257d3e70f38e..ea3359591f27847ca1c0d357d064be56b55b4ee5 100644
--- a/gcc/doc/passes.texi
+++ b/gcc/doc/passes.texi
@@ -724,7 +724,7 @@ into several threads.  The pass is implemented in @file{tree-parloops.c}.
 Graphite is a loop transformation framework based on the polyhedral
 model.  Graphite stands for Gimple Represented as Polyhedra.  The
 internals of this infrastructure are documented in
-@w{@uref{http://gcc.gnu.org/wiki/Graphite}}.  The passes working on
+@w{@uref{https://gcc.gnu.org/wiki/Graphite}}.  The passes working on
 this representation are implemented in the various @file{graphite-*}
 files.
 
diff --git a/gcc/doc/service.texi b/gcc/doc/service.texi
index 75f16b379fec376f74300ab5e5ab84f2933a3c48..0fbce71f87e3c4b3d9329a5b65cae6f0c2db6c2d 100644
--- a/gcc/doc/service.texi
+++ b/gcc/doc/service.texi
@@ -24,4 +24,4 @@ The service directory is found at
 @end itemize
 
 For further information, see
-@uref{http://gcc.gnu.org/faq.html#support}.
+@uref{https://gcc.gnu.org/faq.html#support}.
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 702cd0c53e41a75e0dc47c5bedf61c270e10339b..f06f89798a75c3965da21734026d893470d8ea0e 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -7,7 +7,7 @@
 
 This chapter describes the structure of the GCC source tree, and how
 GCC is built.  The user documentation for building and installing GCC
-is in a separate manual (@uref{http://gcc.gnu.org/install/}), with
+is in a separate manual (@uref{https://gcc.gnu.org/install/}), with
 which it is presumed that you are familiar.
 
 @menu
diff --git a/gcc/doc/standards.texi b/gcc/doc/standards.texi
index 128b1c67bbc8a042a3b49cd5ba6e54697408f388..be773ff4a48350070bcdc2f0c09c273dd49e021c 100644
--- a/gcc/doc/standards.texi
+++ b/gcc/doc/standards.texi
@@ -92,7 +92,7 @@ A new edition of the ISO C standard was published in 1999 as ISO/IEC
 development, drafts of this standard version were referred to as
 @dfn{C9X}.)  GCC has substantially
 complete support for this standard version; see
-@uref{http://gcc.gnu.org/c99status.html} for details.  To select this
+@uref{https://gcc.gnu.org/c99status.html} for details.  To select this
 standard, use @option{-std=c99} or @option{-std=iso9899:1999}.  
 
 Errors in the 1999 ISO C standard were corrected in three Technical
@@ -187,7 +187,7 @@ to @code{abort}.
 
 For references to Technical Corrigenda, Rationale documents and
 information concerning the history of C that is available online, see
-@uref{http://gcc.gnu.org/readings.html}
+@uref{https://gcc.gnu.org/readings.html}
 
 @section C++ Language
 
@@ -313,7 +313,7 @@ The authoritative manual on Objective-C 2.0 is available from Apple:
 @end itemize
 
 For more information concerning the history of Objective-C that is
-available online, see @uref{http://gcc.gnu.org/readings.html}
+available online, see @uref{https://gcc.gnu.org/readings.html}
 
 @section Go Language
 
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index 326470964b0c4771f463c60bde0a0ddf6721f3f9..e7791476176ea11c50e11a25a58e0eac75e41879 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -246,11 +246,11 @@ including OpenMP and OpenACC support for parallel programming.
 The GNU Fortran compiler passes the
 @uref{http://www.fortran-2000.com/ArnaudRecipes/fcvs21_f95.html,
 NIST Fortran 77 Test Suite}, and produces acceptable results on the
-@uref{http://www.netlib.org/lapack/faq.html#1.21, LAPACK Test Suite}.
+@uref{https://www.netlib.org/lapack/faq.html#1.21, LAPACK Test Suite}.
 It also provides respectable performance on
 the @uref{https://polyhedron.com/?page_id=175,
 Polyhedron Fortran compiler benchmarks} and the
-@uref{http://www.netlib.org/benchmark/livermore,
+@uref{https://www.netlib.org/benchmark/livermore,
 Livermore Fortran Kernels test}.  It has been used to compile a number of
 large real-world programs, including
 @uref{http://hirlam.org/, the HARMONIE and HIRLAM weather forecasting code} and
@@ -441,9 +441,9 @@ found in the following sections of the documentation.
 
 Additionally, the GNU Fortran compilers supports the OpenMP specification
 (version 4.5 and partial support of the features of the 5.0 version,
-@url{http://openmp.org/@/openmp-specifications/}).
+@url{https://openmp.org/@/openmp-specifications/}).
 There also is support for the OpenACC specification (targeting
-version 2.6, @uref{http://www.openacc.org/}).  See
+version 2.6, @uref{https://www.openacc.org/}).  See
 @uref{https://gcc.gnu.org/wiki/OpenACC} for more information.
 
 @node Fortran 95 status
@@ -456,7 +456,7 @@ The Fortran 95 standard specifies in Part 2 (ISO/IEC 1539-2:2000)
 varying length character strings.  While GNU Fortran currently does not
 support such strings directly, there exist two Fortran implementations
 for them, which work with GNU Fortran.  They can be found at
-@uref{http://www.fortran.com/@/iso_varying_string.f95} and at
+@uref{https://www.fortran.com/@/iso_varying_string.f95} and at
 @uref{ftp://ftp.nag.co.uk/@/sc22wg5/@/ISO_VARYING_STRING/}.
 
 Deferred-length character strings of Fortran 2003 supports part of
@@ -1786,7 +1786,7 @@ It consists of a set of compiler directives, library routines,
 and environment variables that influence run-time behavior.
 
 GNU Fortran strives to be compatible to the
-@uref{http://openmp.org/wp/openmp-specifications/,
+@uref{https://openmp.org/wp/openmp-specifications/,
 OpenMP Application Program Interface v4.5}.
 
 To enable the processing of the OpenMP directive @code{!$omp} in
@@ -1844,7 +1844,7 @@ compiler directives, library routines, and environment variables that
 influence run-time behavior.
 
 GNU Fortran strives to be compatible to the
-@uref{http://www.openacc.org/, OpenACC Application Programming
+@uref{https://www.openacc.org/, OpenACC Application Programming
 Interface v2.6}.
 
 To enable the processing of the OpenACC directive @code{!$acc} in
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi
index c757afd869062a382d4a5018e9eb6e45abe7ed27..9680f6075f820a1329727fb9a878057c4986969b 100644
--- a/gcc/fortran/intrinsic.texi
+++ b/gcc/fortran/intrinsic.texi
@@ -15261,7 +15261,7 @@ the named constants defined in the modules are listed
 below.
 
 For details refer to the actual
-@uref{http://www.openmp.org/wp-content/uploads/openmp-4.5.pdf,
+@uref{https://www.openmp.org/wp-content/uploads/openmp-4.5.pdf,
 OpenMP Application Program Interface v4.5} and
 @uref{https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5.0.pdf,
 OpenMP Application Program Interface v5.0}.
@@ -15426,7 +15426,7 @@ Runtime Library} manual, the named constants defined in the modules
 are listed below.
 
 For details refer to the actual
-@uref{http://www.openacc.org/,
+@uref{https://www.openacc.org/,
 OpenACC Application Programming Interface v2.6}.
 
 @code{OPENACC} provides the scalar default-integer
diff --git a/gcc/go/gccgo.texi b/gcc/go/gccgo.texi
index fa0e4882403c53f68dffcffe2b6c4cc0c400cc44..9649fd8e0fa78d3a12aefb0e2fb4a0b9405ad26c 100644
--- a/gcc/go/gccgo.texi
+++ b/gcc/go/gccgo.texi
@@ -80,7 +80,7 @@ This manual describes how to use @command{gccgo}, the GNU compiler for
 the Go programming language.  This manual is specifically about
 @command{gccgo}.  For more information about the Go programming
 language in general, including language specifications and standard
-package documentation, see @uref{http://golang.org/}.
+package documentation, see @uref{https://golang.org/}.
 
 @menu
 * Copying::                     The GNU General Public License.
@@ -382,7 +382,7 @@ or with C++ code compiled using @code{extern "C"}.
 This information is provided largely for documentation purposes.  For
 ordinary use it is best to build programs with the go tool and then
 use @code{import "C"}, as described at
-@url{http://golang.org/cmd/cgo}.
+@url{https://golang.org/cmd/cgo}.
 
 @menu
 * C Type Interoperability::     How C and Go types match up.
diff --git a/gcc/jit/docs/_build/texinfo/libgccjit.texi b/gcc/jit/docs/_build/texinfo/libgccjit.texi
index 724c388266c73feed54b5d674b10fefbae365971..2e6c040d0fd2e142bb2dc78b7d223352013829d6 100644
--- a/gcc/jit/docs/_build/texinfo/libgccjit.texi
+++ b/gcc/jit/docs/_build/texinfo/libgccjit.texi
@@ -63,9 +63,9 @@ Copyright @copyright{} 2014-2021 Free Software Foundation, Inc.
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
-This document describes libgccjit@footnote{http://gcc.gnu.org/wiki/JIT}, an API
+This document describes libgccjit@footnote{https://gcc.gnu.org/wiki/JIT}, an API
 for embedding GCC inside programs and libraries.
 
 There are actually two APIs for the library:
@@ -98,7 +98,7 @@ Contents:
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @menu
 * Tutorial:: 
@@ -418,7 +418,7 @@ Running the test suite
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @menu
 * Tutorial part 1; “Hello world”: Tutorial part 1 “Hello world”. 
@@ -463,7 +463,7 @@ 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/>.  */
+<https://www.gnu.org/licenses/>.  */
 
 #include <libgccjit.h>
 
@@ -606,7 +606,7 @@ hello world
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Tutorial part 2 Creating a trivial machine code function,Tutorial part 3 Loops and variables,Tutorial part 1 “Hello world”,Tutorial
 @anchor{intro/tutorial02 doc}@anchor{6}@anchor{intro/tutorial02 tutorial-part-2-creating-a-trivial-machine-code-function}@anchor{7}
@@ -1001,7 +1001,7 @@ 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/>.  */
+<https://www.gnu.org/licenses/>.  */
 
 #include <libgccjit.h>
 
@@ -1128,7 +1128,7 @@ result: 25
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Tutorial part 3 Loops and variables,Tutorial part 4 Adding JIT-compilation to a toy interpreter,Tutorial part 2 Creating a trivial machine code function,Tutorial
 @anchor{intro/tutorial03 doc}@anchor{21}@anchor{intro/tutorial03 tutorial-part-3-loops-and-variables}@anchor{22}
@@ -1560,7 +1560,7 @@ 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/>.  */
+<https://www.gnu.org/licenses/>.  */
 
 #include <libgccjit.h>
 
@@ -1746,7 +1746,7 @@ loop_test returned: 285
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Tutorial part 4 Adding JIT-compilation to a toy interpreter,Tutorial part 5 Implementing an Ahead-of-Time compiler,Tutorial part 3 Loops and variables,Tutorial
 @anchor{intro/tutorial04 doc}@anchor{35}@anchor{intro/tutorial04 tutorial-part-4-adding-jit-compilation-to-a-toy-interpreter}@anchor{36}
@@ -3605,7 +3605,7 @@ instr9:
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Tutorial part 5 Implementing an Ahead-of-Time compiler,,Tutorial part 4 Adding JIT-compilation to a toy interpreter,Tutorial
 @anchor{intro/tutorial05 doc}@anchor{48}@anchor{intro/tutorial05 tutorial-part-5-implementing-an-ahead-of-time-compiler}@anchor{49}
@@ -4409,7 +4409,7 @@ and to a dynamic library.  See the documentation of
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Topic Reference,C++ bindings for libgccjit,Tutorial,Top
 @anchor{topics/index doc}@anchor{4f}@anchor{topics/index topic-reference}@anchor{50}
@@ -4431,7 +4431,7 @@ and to a dynamic library.  See the documentation of
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @menu
 * Compilation contexts:: 
@@ -5137,7 +5137,7 @@ its presence using
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Objects,Types,Compilation contexts,Topic Reference
 @anchor{topics/objects doc}@anchor{76}@anchor{topics/objects objects}@anchor{77}
@@ -5247,7 +5247,7 @@ object’s context is released.
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Types,Expressions,Objects,Topic Reference
 @anchor{topics/types doc}@anchor{79}@anchor{topics/types types}@anchor{7a}
@@ -5883,7 +5883,7 @@ Function pointer types can be created using
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Expressions,Creating and using functions,Types,Topic Reference
 @anchor{topics/expressions doc}@anchor{96}@anchor{topics/expressions expressions}@anchor{97}
@@ -6924,7 +6924,7 @@ in C (or, indeed, to @code{PTR + INDEX}).
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Creating and using functions,Function pointers<2>,Expressions,Topic Reference
 @anchor{topics/functions doc}@anchor{d5}@anchor{topics/functions creating-and-using-functions}@anchor{d6}
@@ -7549,7 +7549,7 @@ assembler statements to a function.
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Function pointers<2>,Source Locations,Creating and using functions,Topic Reference
 @anchor{topics/function-pointers doc}@anchor{f2}@anchor{topics/function-pointers function-pointers}@anchor{f3}
@@ -7630,7 +7630,7 @@ Each of @cite{param_types} must be non-@cite{void}; @cite{return_type} may be @c
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Source Locations,Compiling a context,Function pointers<2>,Topic Reference
 @anchor{topics/locations doc}@anchor{f5}@anchor{topics/locations source-locations}@anchor{f6}
@@ -7714,7 +7714,7 @@ file, giving you @emph{something} you can step through in the debugger.
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Compiling a context,ABI and API compatibility,Source Locations,Topic Reference
 @anchor{topics/compilation doc}@anchor{f8}@anchor{topics/compilation compiling-a-context}@anchor{f9}
@@ -7985,7 +7985,7 @@ against.
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node ABI and API compatibility,Performance,Compiling a context,Topic Reference
 @anchor{topics/compatibility doc}@anchor{101}@anchor{topics/compatibility abi-and-api-compatibility}@anchor{102}
@@ -8350,7 +8350,7 @@ embedding assembler instructions:
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Performance,Using Assembly Language with libgccjit,ABI and API compatibility,Topic Reference
 @anchor{topics/performance doc}@anchor{12c}@anchor{topics/performance performance}@anchor{12d}
@@ -8633,7 +8633,7 @@ for its presence using
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Using Assembly Language with libgccjit,,Performance,Topic Reference
 @anchor{topics/asm doc}@anchor{131}@anchor{topics/asm using-assembly-language-with-libgccjit}@anchor{132}
@@ -9030,7 +9030,7 @@ the following API calls could be used:
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node C++ bindings for libgccjit,Internals,Topic Reference,Top
 @anchor{cp/index doc}@anchor{135}@anchor{cp/index c-bindings-for-libgccjit}@anchor{136}
@@ -9038,7 +9038,7 @@ the following API calls could be used:
 
 
 This document describes the C++ bindings to
-libgccjit@footnote{http://gcc.gnu.org/wiki/JIT}, an API for embedding GCC
+libgccjit@footnote{https://gcc.gnu.org/wiki/JIT}, an API for embedding GCC
 inside programs and libraries.
 
 The C++ bindings consist of a single header file @code{libgccjit++.h}.
@@ -9064,7 +9064,7 @@ Contents:
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @menu
 * Tutorial: Tutorial<2>. 
@@ -9092,7 +9092,7 @@ Contents:
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @menu
 * Tutorial part 1; “Hello world”: Tutorial part 1 “Hello world”<2>. 
@@ -9136,7 +9136,7 @@ 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/>.  */
+<https://www.gnu.org/licenses/>.  */
 
 #include <libgccjit++.h>
 
@@ -9263,7 +9263,7 @@ hello world
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Tutorial part 2 Creating a trivial machine code function<2>,Tutorial part 3 Loops and variables<2>,Tutorial part 1 “Hello world”<2>,Tutorial<2>
 @anchor{cp/intro/tutorial02 doc}@anchor{13b}@anchor{cp/intro/tutorial02 tutorial-part-2-creating-a-trivial-machine-code-function}@anchor{13c}
@@ -9606,7 +9606,7 @@ 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/>.  */
+<https://www.gnu.org/licenses/>.  */
 
 #include <libgccjit++.h>
 
@@ -9715,7 +9715,7 @@ result: 25
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Tutorial part 3 Loops and variables<2>,Tutorial part 4 Adding JIT-compilation to a toy interpreter<2>,Tutorial part 2 Creating a trivial machine code function<2>,Tutorial<2>
 @anchor{cp/intro/tutorial03 doc}@anchor{14c}@anchor{cp/intro/tutorial03 tutorial-part-3-loops-and-variables}@anchor{14d}
@@ -10164,7 +10164,7 @@ 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/>.  */
+<https://www.gnu.org/licenses/>.  */
 
 #include <libgccjit++.h>
 
@@ -10315,7 +10315,7 @@ loop_test returned: 285
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Tutorial part 4 Adding JIT-compilation to a toy interpreter<2>,,Tutorial part 3 Loops and variables<2>,Tutorial<2>
 @anchor{cp/intro/tutorial04 doc}@anchor{15e}@anchor{cp/intro/tutorial04 tutorial-part-4-adding-jit-compilation-to-a-toy-interpreter}@anchor{15f}
@@ -12119,7 +12119,7 @@ instr9:
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Topic Reference<2>,,Tutorial<2>,C++ bindings for libgccjit
 @anchor{cp/topics/index doc}@anchor{16f}@anchor{cp/topics/index topic-reference}@anchor{170}
@@ -12141,7 +12141,7 @@ instr9:
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @menu
 * Compilation contexts: Compilation contexts<2>. 
@@ -12468,7 +12468,7 @@ its presence using
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Objects<2>,Types<2>,Compilation contexts<2>,Topic Reference<2>
 @anchor{cp/topics/objects doc}@anchor{1ab}@anchor{cp/topics/objects objects}@anchor{1ac}
@@ -12560,7 +12560,7 @@ obj: 4.0 * (float)i
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Types<2>,Expressions<2>,Objects<2>,Topic Reference<2>
 @anchor{cp/topics/types doc}@anchor{1b7}@anchor{cp/topics/types types}@anchor{1b8}
@@ -12828,7 +12828,7 @@ size of the struct is not known), or later specified using
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Expressions<2>,Creating and using functions<2>,Types<2>,Topic Reference<2>
 @anchor{cp/topics/expressions doc}@anchor{1f6}@anchor{cp/topics/expressions expressions}@anchor{1f7}
@@ -13638,7 +13638,7 @@ gccjit::lvalue element = array[0];
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Creating and using functions<2>,Source Locations<2>,Expressions<2>,Topic Reference<2>
 @anchor{cp/topics/functions doc}@anchor{2fb}@anchor{cp/topics/functions creating-and-using-functions}@anchor{2fc}
@@ -14061,7 +14061,7 @@ create_code (gcc_jit_context *c_ctxt, void *user_data)
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Source Locations<2>,Compiling a context<2>,Creating and using functions<2>,Topic Reference<2>
 @anchor{cp/topics/locations doc}@anchor{33e}@anchor{cp/topics/locations source-locations}@anchor{33f}
@@ -14138,7 +14138,7 @@ file, giving you @emph{something} you can step through in the debugger.
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Compiling a context<2>,Using Assembly Language with libgccjit++,Source Locations<2>,Topic Reference<2>
 @anchor{cp/topics/compilation doc}@anchor{347}@anchor{cp/topics/compilation compiling-a-context}@anchor{348}
@@ -14210,7 +14210,7 @@ This is a thin wrapper around the
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Using Assembly Language with libgccjit++,,Compiling a context<2>,Topic Reference<2>
 @anchor{cp/topics/asm doc}@anchor{352}@anchor{cp/topics/asm using-assembly-language-with-libgccjit}@anchor{353}
@@ -14603,7 +14603,7 @@ the following API calls could be used:
 @c 
 @c You should have received a copy of the GNU General Public License
 @c along with this program.  If not, see
-@c <http://www.gnu.org/licenses/>.
+@c <https://www.gnu.org/licenses/>.
 
 @node Internals,Indices and tables,C++ bindings for libgccjit,Top
 @anchor{internals/index doc}@anchor{382}@anchor{internals/index internals}@anchor{383}
@@ -14769,11 +14769,11 @@ The jit testsuite detects if
 @geindex environment variable; RUN_UNDER_VALGRIND
 @code{RUN_UNDER_VALGRIND} is present in the
 environment (with any value).  If it is present, it runs the test client
-code under valgrind@footnote{http://valgrind.org},
+code under valgrind@footnote{https://valgrind.org},
 specifcally, the default
-memcheck@footnote{http://valgrind.org/docs/manual/mc-manual.html}
+memcheck@footnote{https://valgrind.org/docs/manual/mc-manual.html}
 tool with
---leak-check=full@footnote{http://valgrind.org/docs/manual/mc-manual.html#opt.leak-check}.
+--leak-check=full@footnote{https://valgrind.org/docs/manual/mc-manual.html#opt.leak-check}.
 
 It automatically parses the output from valgrind, injecting XFAIL results if
 any issues are found, or PASS results if the output is clean.  The output
@@ -15556,7 +15556,7 @@ array. See the file for examples.
 
 Typically a patch that touches the .rst documentation will also need the
 texinfo to be regenerated.  You can do this with
-Sphinx 1.0@footnote{http://sphinx-doc.org/} or later by
+Sphinx 1.0@footnote{https://sphinx-doc.org/} or later by
 running @code{make texinfo} within @code{SRCDIR/gcc/jit/docs}.   Don’t do this
 within the patch sent to the mailing list; it can often be relatively
 large and inconsequential (e.g. anchor renumbering), rather like generated
@@ -15586,7 +15586,7 @@ search
 @c The Sphinx C domain appears to lack explicit support for enum values,
 @c so I've been using :c:macro: for them.
 @c 
-@c See http://sphinx-doc.org/domains.html#the-c-domain
+@c See https://sphinx-doc.org/domains.html#the-c-domain
 
 @node Index,,Indices and tables,Top
 @unnumbered Index
diff --git a/gcc/jit/docs/cp/index.rst b/gcc/jit/docs/cp/index.rst
index 3bffc98a3dee04a5032bb31b81093e08a91c15e4..6857e20aac2a7612a939874d57f41ff35559e22b 100644
--- a/gcc/jit/docs/cp/index.rst
+++ b/gcc/jit/docs/cp/index.rst
@@ -13,13 +13,13 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 C++ bindings for libgccjit
 ==========================
 
 This document describes the C++ bindings to
-`libgccjit <http://gcc.gnu.org/wiki/JIT>`_, an API for embedding GCC
+`libgccjit <https://gcc.gnu.org/wiki/JIT>`_, an API for embedding GCC
 inside programs and libraries.
 
 The C++ bindings consist of a single header file ``libgccjit++.h``.
diff --git a/gcc/jit/docs/cp/intro/index.rst b/gcc/jit/docs/cp/intro/index.rst
index df2814eda1a443871db3952313abf240589fb34b..6a87ad1389143d90d1dc9aace7f46ec1e37a739e 100644
--- a/gcc/jit/docs/cp/intro/index.rst
+++ b/gcc/jit/docs/cp/intro/index.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 Tutorial
 ========
diff --git a/gcc/jit/docs/cp/intro/tutorial01.rst b/gcc/jit/docs/cp/intro/tutorial01.rst
index 866f0afc67c7bf0a0fcac4607c2be95b0e7ed3dc..6c487e7c5b5116ee2d8ea4e9d139fcce4ee567c3 100644
--- a/gcc/jit/docs/cp/intro/tutorial01.rst
+++ b/gcc/jit/docs/cp/intro/tutorial01.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/cp/intro/tutorial02.rst b/gcc/jit/docs/cp/intro/tutorial02.rst
index 0b07c6edfc22d8e9754c0506fb301c0d0f606429..be8938eaf380bbe3a2426ea1eb618a9da4004f36 100644
--- a/gcc/jit/docs/cp/intro/tutorial02.rst
+++ b/gcc/jit/docs/cp/intro/tutorial02.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/cp/intro/tutorial03.rst b/gcc/jit/docs/cp/intro/tutorial03.rst
index 2c122fc6663b5ca0bdea39871ac43b445fe30445..e313ef2cd6df86bafad0780daada873a98973001 100644
--- a/gcc/jit/docs/cp/intro/tutorial03.rst
+++ b/gcc/jit/docs/cp/intro/tutorial03.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/cp/intro/tutorial04.rst b/gcc/jit/docs/cp/intro/tutorial04.rst
index f556cded80b98963af4af8a7371740232605fc22..1d42f4ba533c0a8e04e8fc26f1932a8953493b47 100644
--- a/gcc/jit/docs/cp/intro/tutorial04.rst
+++ b/gcc/jit/docs/cp/intro/tutorial04.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/cp/topics/asm.rst b/gcc/jit/docs/cp/topics/asm.rst
index 8c36d0a5ec1b1b4c6e83bbf6783c96b085787fba..4a59682782c4175ad7c2ca5629c0b477bed9a4fb 100644
--- a/gcc/jit/docs/cp/topics/asm.rst
+++ b/gcc/jit/docs/cp/topics/asm.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/cp/topics/compilation.rst b/gcc/jit/docs/cp/topics/compilation.rst
index f82c1e70c89ca6921a5ec8f857e1c316487859e3..7f987a5fab01ec67dce6d1499c07ac5f9e4005b9 100644
--- a/gcc/jit/docs/cp/topics/compilation.rst
+++ b/gcc/jit/docs/cp/topics/compilation.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/cp/topics/contexts.rst b/gcc/jit/docs/cp/topics/contexts.rst
index af0b64fbefbae515a275d8b0527d70b63f519d09..6876fefa31fb1369eb040b3ec2d99258e906dc0d 100644
--- a/gcc/jit/docs/cp/topics/contexts.rst
+++ b/gcc/jit/docs/cp/topics/contexts.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/cp/topics/expressions.rst b/gcc/jit/docs/cp/topics/expressions.rst
index c569b0d6c240d9f1d4d47d2ecce4c35814fad12a..9f7ef64386cfd6d5ef193ee7e7f1dac527e903a3 100644
--- a/gcc/jit/docs/cp/topics/expressions.rst
+++ b/gcc/jit/docs/cp/topics/expressions.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/cp/topics/functions.rst b/gcc/jit/docs/cp/topics/functions.rst
index 4ba6f647d094e05876c2b897601295f96c792e8f..addc0fdccc84505116c21db637478a90428f3054 100644
--- a/gcc/jit/docs/cp/topics/functions.rst
+++ b/gcc/jit/docs/cp/topics/functions.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/cp/topics/index.rst b/gcc/jit/docs/cp/topics/index.rst
index 3ff460f73d36ab59212fe6f594775bd2105179fe..2f888d66a57c8e808bbc8086d113655869496932 100644
--- a/gcc/jit/docs/cp/topics/index.rst
+++ b/gcc/jit/docs/cp/topics/index.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 Topic Reference
 ===============
diff --git a/gcc/jit/docs/cp/topics/locations.rst b/gcc/jit/docs/cp/topics/locations.rst
index f9e34a56a1397728dcc5a199346d3d54469d298f..2a50527682bbe3b23cd81044d71740c78fd04ae4 100644
--- a/gcc/jit/docs/cp/topics/locations.rst
+++ b/gcc/jit/docs/cp/topics/locations.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/cp/topics/objects.rst b/gcc/jit/docs/cp/topics/objects.rst
index ada7167edd39a4c9a95707af318d123f64162bf9..4dc114f3b8fba83c2aaaeb376e922990fd87d5b2 100644
--- a/gcc/jit/docs/cp/topics/objects.rst
+++ b/gcc/jit/docs/cp/topics/objects.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/cp/topics/types.rst b/gcc/jit/docs/cp/topics/types.rst
index c847e78c545394c525bb55d21587c50c84d979b2..2abdfc095bfc24e2186aa4627db0c5c0c47b5019 100644
--- a/gcc/jit/docs/cp/topics/types.rst
+++ b/gcc/jit/docs/cp/topics/types.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: cpp
 
diff --git a/gcc/jit/docs/index.rst b/gcc/jit/docs/index.rst
index fe3d741d3452777e6c794606d173d73a8a79e19e..6102b443be35800039cd6a40f8e1e91438c09c34 100644
--- a/gcc/jit/docs/index.rst
+++ b/gcc/jit/docs/index.rst
@@ -13,12 +13,12 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 libgccjit
 =========
 
-This document describes `libgccjit <http://gcc.gnu.org/wiki/JIT>`_, an API
+This document describes `libgccjit <https://gcc.gnu.org/wiki/JIT>`_, an API
 for embedding GCC inside programs and libraries.
 
 There are actually two APIs for the library:
@@ -51,4 +51,4 @@ Indices and tables
    The Sphinx C domain appears to lack explicit support for enum values,
    so I've been using :c:macro: for them.
 
-   See http://sphinx-doc.org/domains.html#the-c-domain
+   See https://sphinx-doc.org/domains.html#the-c-domain
diff --git a/gcc/jit/docs/internals/index.rst b/gcc/jit/docs/internals/index.rst
index 3a4f6283e89cc3c59c0aa1c5ba8cb02d2ba96efc..799eb93cc10d97083cc6f8345046a09e032c0531 100644
--- a/gcc/jit/docs/internals/index.rst
+++ b/gcc/jit/docs/internals/index.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 Internals
 =========
@@ -136,12 +136,12 @@ Running under valgrind
 
 The jit testsuite detects if :envvar:`RUN_UNDER_VALGRIND` is present in the
 environment (with any value).  If it is present, it runs the test client
-code under `valgrind <http://valgrind.org>`_,
+code under `valgrind <https://valgrind.org>`_,
 specifcally, the default
-`memcheck <http://valgrind.org/docs/manual/mc-manual.html>`_
+`memcheck <https://valgrind.org/docs/manual/mc-manual.html>`_
 tool with
 `--leak-check=full
-<http://valgrind.org/docs/manual/mc-manual.html#opt.leak-check>`_.
+<https://valgrind.org/docs/manual/mc-manual.html#opt.leak-check>`_.
 
 It automatically parses the output from valgrind, injecting XFAIL results if
 any issues are found, or PASS results if the output is clean.  The output
@@ -431,7 +431,7 @@ Every new testcase that doesn't generate errors should also touch
 
 Typically a patch that touches the .rst documentation will also need the
 texinfo to be regenerated.  You can do this with
-`Sphinx 1.0 <http://sphinx-doc.org/>`_ or later by
+`Sphinx 1.0 <https://sphinx-doc.org/>`_ or later by
 running ``make texinfo`` within ``SRCDIR/gcc/jit/docs``.   Don't do this
 within the patch sent to the mailing list; it can often be relatively
 large and inconsequential (e.g. anchor renumbering), rather like generated
diff --git a/gcc/jit/docs/intro/index.rst b/gcc/jit/docs/intro/index.rst
index 98df15543f8f6e09200b5f6b1563f505a367f67c..9a47f76f1564924617240bf74037fce2380362cd 100644
--- a/gcc/jit/docs/intro/index.rst
+++ b/gcc/jit/docs/intro/index.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 Tutorial
 ========
diff --git a/gcc/jit/docs/intro/tutorial01.rst b/gcc/jit/docs/intro/tutorial01.rst
index c194ac0f3396758508b619220d5ec68ca3fc7dba..e32e121681a0b7415ec05f3b8adf7f1333942679 100644
--- a/gcc/jit/docs/intro/tutorial01.rst
+++ b/gcc/jit/docs/intro/tutorial01.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/intro/tutorial02.rst b/gcc/jit/docs/intro/tutorial02.rst
index 2ec338b12182d2ed0599a8374307ce73decdad30..43ecb8e03920345f48e4cdd3bddc319d5d876445 100644
--- a/gcc/jit/docs/intro/tutorial02.rst
+++ b/gcc/jit/docs/intro/tutorial02.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/intro/tutorial03.rst b/gcc/jit/docs/intro/tutorial03.rst
index b0bc797fb61b86c5fb537a5242383202cb6f8e28..6ee083e105750a73f5d675ad744f24bfffd9f52a 100644
--- a/gcc/jit/docs/intro/tutorial03.rst
+++ b/gcc/jit/docs/intro/tutorial03.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 Tutorial part 3: Loops and variables
 ------------------------------------
diff --git a/gcc/jit/docs/intro/tutorial04.rst b/gcc/jit/docs/intro/tutorial04.rst
index 18ce86e9c3129096f6cc8994cc4cc052b1472e7b..b30cc07cb80a47608c9555dba60b7c06b1c8b32d 100644
--- a/gcc/jit/docs/intro/tutorial04.rst
+++ b/gcc/jit/docs/intro/tutorial04.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 Tutorial part 4: Adding JIT-compilation to a toy interpreter
 ------------------------------------------------------------
diff --git a/gcc/jit/docs/intro/tutorial05.rst b/gcc/jit/docs/intro/tutorial05.rst
index 8ba14c2a3535093ee05c8ad734ecdbca0e7ce152..7c66b78f42408cbcb6d9cd429cdeb5e083c5ebf9 100644
--- a/gcc/jit/docs/intro/tutorial05.rst
+++ b/gcc/jit/docs/intro/tutorial05.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 Tutorial part 5: Implementing an Ahead-of-Time compiler
 -------------------------------------------------------
diff --git a/gcc/jit/docs/topics/asm.rst b/gcc/jit/docs/topics/asm.rst
index 0a1e48eabfb5bd8b4acec6063b7db06a8ce680ff..02c1df54521466e2b6d8a115b67ca89c9d18029b 100644
--- a/gcc/jit/docs/topics/asm.rst
+++ b/gcc/jit/docs/topics/asm.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/topics/compatibility.rst b/gcc/jit/docs/topics/compatibility.rst
index c6c14f0a7612fceb6c18bad9f94ddcf09884d4a4..91b00d95848a9cc2b912f51b23bb4924e5e74057 100644
--- a/gcc/jit/docs/topics/compatibility.rst
+++ b/gcc/jit/docs/topics/compatibility.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/topics/compilation.rst b/gcc/jit/docs/topics/compilation.rst
index b6ace12120f5ed48ff0084e8391b8d181302c4be..29f8b052d89e434061e2470accbc6284e1a627fd 100644
--- a/gcc/jit/docs/topics/compilation.rst
+++ b/gcc/jit/docs/topics/compilation.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/topics/contexts.rst b/gcc/jit/docs/topics/contexts.rst
index 00fb17e155d66015f0124393eff4baaad7cfda9a..c51ae364116e781a4409875315d6476175688a1e 100644
--- a/gcc/jit/docs/topics/contexts.rst
+++ b/gcc/jit/docs/topics/contexts.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/topics/expressions.rst b/gcc/jit/docs/topics/expressions.rst
index 0a96872551ba582424516450dbe6b8085cdbca82..6860cc6dc740c5a29b11d1628966b8d770fda417 100644
--- a/gcc/jit/docs/topics/expressions.rst
+++ b/gcc/jit/docs/topics/expressions.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/topics/function-pointers.rst b/gcc/jit/docs/topics/function-pointers.rst
index 828eda89fe1290d970c30f4746bfa9e6a064cb79..8ea08fe759a6f5eb41912188f21fffd94822d5da 100644
--- a/gcc/jit/docs/topics/function-pointers.rst
+++ b/gcc/jit/docs/topics/function-pointers.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/topics/functions.rst b/gcc/jit/docs/topics/functions.rst
index 839934588da39346b82fdb3d1b524b5fa5931671..497caa61c5645591a905bad6e5d89a5995cd24f3 100644
--- a/gcc/jit/docs/topics/functions.rst
+++ b/gcc/jit/docs/topics/functions.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/topics/index.rst b/gcc/jit/docs/topics/index.rst
index 1af8846a83b694e73b68569195244c5ce166d122..587fb8a997106cf966dca03cc4dd248c78d2fab5 100644
--- a/gcc/jit/docs/topics/index.rst
+++ b/gcc/jit/docs/topics/index.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 Topic Reference
 ===============
diff --git a/gcc/jit/docs/topics/locations.rst b/gcc/jit/docs/topics/locations.rst
index 8c276e1ff25152192ab6ff395e92db8c2c8997ba..2c2139b31eb07ea559764295f7f24a40ce81ae57 100644
--- a/gcc/jit/docs/topics/locations.rst
+++ b/gcc/jit/docs/topics/locations.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/topics/objects.rst b/gcc/jit/docs/topics/objects.rst
index 0df80767c1d136f2c378add6caf1a2ea8690508b..587133e37e190b2bd351f723aaf410a73fff4652 100644
--- a/gcc/jit/docs/topics/objects.rst
+++ b/gcc/jit/docs/topics/objects.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/topics/performance.rst b/gcc/jit/docs/topics/performance.rst
index 92f58997325a54b42fc024a985ef9e5b595b9724..825574006c1153062f29132eca667e5db7df9a36 100644
--- a/gcc/jit/docs/topics/performance.rst
+++ b/gcc/jit/docs/topics/performance.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c
 
diff --git a/gcc/jit/docs/topics/types.rst b/gcc/jit/docs/topics/types.rst
index 6260e9afba4ac2763c0d11c5239d0813c89b39b8..7de8d38dfbaa0e7a38dd09378bac38d423b8eddf 100644
--- a/gcc/jit/docs/topics/types.rst
+++ b/gcc/jit/docs/topics/types.rst
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <https://www.gnu.org/licenses/>.
 
 .. default-domain:: c