docs: replace http:// with https://

Message ID cc96439d-1acf-d21a-2581-6b6b0fa87249@suse.cz
State New
Headers
Series docs: replace http:// with https:// |

Commit Message

Martin Liška Dec. 22, 2021, 12:57 p.m. UTC
  I replaced and verified http:// links for various domains.

Ready to be installed?
Tahnks,
Martin

gcc/ada/ChangeLog:

	* doc/share/gnu_free_documentation_license.rst: Replace http:// with https.
	* gnat-style.texi: Likewise.
	* gnat_rm.texi: Likewise.
	* gnat_ugn.texi: Likewise.

gcc/d/ChangeLog:

	* gdc.texi: Replace http:// with https.

gcc/ChangeLog:

	* doc/contrib.texi: Replace http:// with https.
	* doc/contribute.texi: Likewise.
	* doc/extend.texi: Likewise.
	* doc/gccint.texi: Likewise.
	* doc/gnu.texi: Likewise.
	* doc/implement-c.texi: Likewise.
	* doc/implement-cxx.texi: Likewise.
	* doc/include/fdl.texi: Likewise.
	* doc/include/gpl_v3.texi: Likewise.
	* doc/install.texi: Likewise.
	* doc/invoke.texi: Likewise.
	* doc/passes.texi: Likewise.
	* doc/service.texi: Likewise.
	* doc/sourcebuild.texi: Likewise.
	* doc/standards.texi: Likewise.

gcc/fortran/ChangeLog:

	* gfortran.texi: Replace http:// with https.
	* intrinsic.texi: Likewise.

gcc/go/ChangeLog:

	* gccgo.texi: Replace http:// with https.

gcc/jit/ChangeLog:

	* docs/_build/texinfo/libgccjit.texi: Replace http:// with https.
	* docs/cp/index.rst: Likewise.
	* docs/cp/intro/index.rst: Likewise.
	* docs/cp/intro/tutorial01.rst: Likewise.
	* docs/cp/intro/tutorial02.rst: Likewise.
	* docs/cp/intro/tutorial03.rst: Likewise.
	* docs/cp/intro/tutorial04.rst: Likewise.
	* docs/cp/topics/asm.rst: Likewise.
	* docs/cp/topics/compilation.rst: Likewise.
	* docs/cp/topics/contexts.rst: Likewise.
	* docs/cp/topics/expressions.rst: Likewise.
	* docs/cp/topics/functions.rst: Likewise.
	* docs/cp/topics/index.rst: Likewise.
	* docs/cp/topics/locations.rst: Likewise.
	* docs/cp/topics/objects.rst: Likewise.
	* docs/cp/topics/types.rst: Likewise.
	* docs/index.rst: Likewise.
	* docs/internals/index.rst: Likewise.
	* docs/intro/index.rst: Likewise.
	* docs/intro/tutorial01.rst: Likewise.
	* docs/intro/tutorial02.rst: Likewise.
	* docs/intro/tutorial03.rst: Likewise.
	* docs/intro/tutorial04.rst: Likewise.
	* docs/intro/tutorial05.rst: Likewise.
	* docs/topics/asm.rst: Likewise.
	* docs/topics/compatibility.rst: Likewise.
	* docs/topics/compilation.rst: Likewise.
	* docs/topics/contexts.rst: Likewise.
	* docs/topics/expressions.rst: Likewise.
	* docs/topics/function-pointers.rst: Likewise.
	* docs/topics/functions.rst: Likewise.
	* docs/topics/index.rst: Likewise.
	* docs/topics/locations.rst: Likewise.
	* docs/topics/objects.rst: Likewise.
	* docs/topics/performance.rst: Likewise.
	* docs/topics/types.rst: Likewise.
---
  .../share/gnu_free_documentation_license.rst  |  4 +-
  gcc/ada/gnat-style.texi                       |  4 +-
  gcc/ada/gnat_rm.texi                          |  4 +-
  gcc/ada/gnat_ugn.texi                         |  4 +-
  gcc/d/gdc.texi                                | 10 +-
  gcc/doc/contrib.texi                          |  2 +-
  gcc/doc/contribute.texi                       | 10 +-
  gcc/doc/extend.texi                           |  4 +-
  gcc/doc/gccint.texi                           |  2 +-
  gcc/doc/gnu.texi                              |  4 +-
  gcc/doc/implement-c.texi                      |  2 +-
  gcc/doc/implement-cxx.texi                    |  2 +-
  gcc/doc/include/fdl.texi                      |  6 +-
  gcc/doc/include/gpl_v3.texi                   |  6 +-
  gcc/doc/install.texi                          | 32 +++----
  gcc/doc/invoke.texi                           | 10 +-
  gcc/doc/passes.texi                           |  2 +-
  gcc/doc/service.texi                          |  2 +-
  gcc/doc/sourcebuild.texi                      |  2 +-
  gcc/doc/standards.texi                        |  6 +-
  gcc/fortran/gfortran.texi                     | 14 +--
  gcc/fortran/intrinsic.texi                    |  4 +-
  gcc/go/gccgo.texi                             |  4 +-
  gcc/jit/docs/_build/texinfo/libgccjit.texi    | 96 +++++++++----------
  gcc/jit/docs/cp/index.rst                     |  4 +-
  gcc/jit/docs/cp/intro/index.rst               |  2 +-
  gcc/jit/docs/cp/intro/tutorial01.rst          |  2 +-
  gcc/jit/docs/cp/intro/tutorial02.rst          |  2 +-
  gcc/jit/docs/cp/intro/tutorial03.rst          |  2 +-
  gcc/jit/docs/cp/intro/tutorial04.rst          |  2 +-
  gcc/jit/docs/cp/topics/asm.rst                |  2 +-
  gcc/jit/docs/cp/topics/compilation.rst        |  2 +-
  gcc/jit/docs/cp/topics/contexts.rst           |  2 +-
  gcc/jit/docs/cp/topics/expressions.rst        |  2 +-
  gcc/jit/docs/cp/topics/functions.rst          |  2 +-
  gcc/jit/docs/cp/topics/index.rst              |  2 +-
  gcc/jit/docs/cp/topics/locations.rst          |  2 +-
  gcc/jit/docs/cp/topics/objects.rst            |  2 +-
  gcc/jit/docs/cp/topics/types.rst              |  2 +-
  gcc/jit/docs/index.rst                        |  6 +-
  gcc/jit/docs/internals/index.rst              | 10 +-
  gcc/jit/docs/intro/index.rst                  |  2 +-
  gcc/jit/docs/intro/tutorial01.rst             |  2 +-
  gcc/jit/docs/intro/tutorial02.rst             |  2 +-
  gcc/jit/docs/intro/tutorial03.rst             |  2 +-
  gcc/jit/docs/intro/tutorial04.rst             |  2 +-
  gcc/jit/docs/intro/tutorial05.rst             |  2 +-
  gcc/jit/docs/topics/asm.rst                   |  2 +-
  gcc/jit/docs/topics/compatibility.rst         |  2 +-
  gcc/jit/docs/topics/compilation.rst           |  2 +-
  gcc/jit/docs/topics/contexts.rst              |  2 +-
  gcc/jit/docs/topics/expressions.rst           |  2 +-
  gcc/jit/docs/topics/function-pointers.rst     |  2 +-
  gcc/jit/docs/topics/functions.rst             |  2 +-
  gcc/jit/docs/topics/index.rst                 |  2 +-
  gcc/jit/docs/topics/locations.rst             |  2 +-
  gcc/jit/docs/topics/objects.rst               |  2 +-
  gcc/jit/docs/topics/performance.rst           |  2 +-
  gcc/jit/docs/topics/types.rst                 |  2 +-
  59 files changed, 160 insertions(+), 160 deletions(-)
  

Comments

Iain Buclaw Dec. 22, 2021, 2:23 p.m. UTC | #1
Excerpts from Martin Liška's message of Dezember 22, 2021 1:57 pm:
> I replaced and verified http:// links for various domains.
> 
> Ready to be installed?
> Tahnks,
> Martin
> 

Hi,

> gcc/d/ChangeLog:
> 
> 	* gdc.texi: Replace http:// with https.
> 
> ---
>   gcc/d/gdc.texi                                | 10 +-
> 

OK for the D front-end docs change.

Iain.

> diff --git a/gcc/d/gdc.texi b/gcc/d/gdc.texi
> index bfec1568857..d93d2e8001a 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
  
Jeff Law Dec. 23, 2021, 3:55 p.m. UTC | #2
On 12/22/2021 5:57 AM, Martin Liška wrote:
> I replaced and verified http:// links for various domains.
>
> Ready to be installed?
> Tahnks,
> Martin
>
> gcc/ada/ChangeLog:
>
>     * doc/share/gnu_free_documentation_license.rst: Replace http:// 
> with https.
>     * gnat-style.texi: Likewise.
>     * gnat_rm.texi: Likewise.
>     * gnat_ugn.texi: Likewise.
>
> gcc/d/ChangeLog:
>
>     * gdc.texi: Replace http:// with https.
>
> gcc/ChangeLog:
>
>     * doc/contrib.texi: Replace http:// with https.
>     * doc/contribute.texi: Likewise.
>     * doc/extend.texi: Likewise.
>     * doc/gccint.texi: Likewise.
>     * doc/gnu.texi: Likewise.
>     * doc/implement-c.texi: Likewise.
>     * doc/implement-cxx.texi: Likewise.
>     * doc/include/fdl.texi: Likewise.
>     * doc/include/gpl_v3.texi: Likewise.
>     * doc/install.texi: Likewise.
>     * doc/invoke.texi: Likewise.
>     * doc/passes.texi: Likewise.
>     * doc/service.texi: Likewise.
>     * doc/sourcebuild.texi: Likewise.
>     * doc/standards.texi: Likewise.
>
> gcc/fortran/ChangeLog:
>
>     * gfortran.texi: Replace http:// with https.
>     * intrinsic.texi: Likewise.
>
> gcc/go/ChangeLog:
>
>     * gccgo.texi: Replace http:// with https.
>
> gcc/jit/ChangeLog:
>
>     * docs/_build/texinfo/libgccjit.texi: Replace http:// with https.
>     * docs/cp/index.rst: Likewise.
>     * docs/cp/intro/index.rst: Likewise.
>     * docs/cp/intro/tutorial01.rst: Likewise.
>     * docs/cp/intro/tutorial02.rst: Likewise.
>     * docs/cp/intro/tutorial03.rst: Likewise.
>     * docs/cp/intro/tutorial04.rst: Likewise.
>     * docs/cp/topics/asm.rst: Likewise.
>     * docs/cp/topics/compilation.rst: Likewise.
>     * docs/cp/topics/contexts.rst: Likewise.
>     * docs/cp/topics/expressions.rst: Likewise.
>     * docs/cp/topics/functions.rst: Likewise.
>     * docs/cp/topics/index.rst: Likewise.
>     * docs/cp/topics/locations.rst: Likewise.
>     * docs/cp/topics/objects.rst: Likewise.
>     * docs/cp/topics/types.rst: Likewise.
>     * docs/index.rst: Likewise.
>     * docs/internals/index.rst: Likewise.
>     * docs/intro/index.rst: Likewise.
>     * docs/intro/tutorial01.rst: Likewise.
>     * docs/intro/tutorial02.rst: Likewise.
>     * docs/intro/tutorial03.rst: Likewise.
>     * docs/intro/tutorial04.rst: Likewise.
>     * docs/intro/tutorial05.rst: Likewise.
>     * docs/topics/asm.rst: Likewise.
>     * docs/topics/compatibility.rst: Likewise.
>     * docs/topics/compilation.rst: Likewise.
>     * docs/topics/contexts.rst: Likewise.
>     * docs/topics/expressions.rst: Likewise.
>     * docs/topics/function-pointers.rst: Likewise.
>     * docs/topics/functions.rst: Likewise.
>     * docs/topics/index.rst: Likewise.
>     * docs/topics/locations.rst: Likewise.
>     * docs/topics/objects.rst: Likewise.
>     * docs/topics/performance.rst: Likewise.
>     * docs/topics/types.rst: Likewise.
OK .  And I think this falls under the obvious rule.

jeff
  
Gerald Pfeifer Feb. 2, 2022, 9:46 p.m. UTC | #3
On Wed, 22 Dec 2021, Martin Liška wrote:
> I replaced and verified http:// links for various domains.

Thank you, and apologies for not acking this right away back then.

(Did you ping, and I missed that? Not that you should have to, just
missing a ping would be even worse.)

In any case this is a good reminder for me to do some general link
maintenance again, which I'll look into once your patch is in.

Gerald
  
Andrew Pinski Feb. 2, 2022, 10:02 p.m. UTC | #4
On Wed, Feb 2, 2022 at 1:46 PM Gerald Pfeifer <gerald@pfeifer.com> wrote:
>
> On Wed, 22 Dec 2021, Martin Liška wrote:
> > I replaced and verified http:// links for various domains.
>
> Thank you, and apologies for not acking this right away back then.
>
> (Did you ping, and I missed that? Not that you should have to, just
> missing a ping would be even worse.)
>
> In any case this is a good reminder for me to do some general link
> maintenance again, which I'll look into once your patch is in.

It went in with r12-6130-g786973ce33dfbbd1fe64e1 .
I also committed one extra move to https r12-6983-g6bc732eba9a7dc that
was pointed out to the gcc@ mailing list .

Thanks,
Andrew Pinski

>
> Gerald
  

Patch

diff --git a/gcc/ada/doc/share/gnu_free_documentation_license.rst b/gcc/ada/doc/share/gnu_free_documentation_license.rst
index c18cf6673c5..0235545155f 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 a7d666c0b77..1e77dd15d41 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 70e8c36bff2..2b5cbf721c4 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 22b679522aa..63e4f9d10fa 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 bfec1568857..d93d2e8001a 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 a8d4d5df055..9f70cb5ed43 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 a23240d1a27..e3c1d435b0e 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 1f6af5d773e..9676a17406e 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 67137a9376a..c68f540543e 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 641fe307253..8ff116aedf5 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 b656ac8ec4f..c5eea37adc6 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 115f3fb341d..47034033293 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 7fa222c5f32..e2bcdfd579b 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 86d81904ec2..c978f2154d2 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 549da22aa16..7f247b699e7 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 ca621577432..e644c63767b 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 9046cbed2d9..ea3359591f2 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 75f16b379fe..0fbce71f87e 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 702cd0c53e4..f06f89798a7 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 128b1c67bbc..be773ff4a48 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 326470964b0..e7791476176 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 c757afd8690..9680f6075f8 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 fa0e4882403..9649fd8e0fa 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 724c388266c..2e6c040d0fd 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 3bffc98a3de..6857e20aac2 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 df2814eda1a..6a87ad13891 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 866f0afc67c..6c487e7c5b5 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 0b07c6edfc2..be8938eaf38 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 2c122fc6663..e313ef2cd6d 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 f556cded80b..1d42f4ba533 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 8c36d0a5ec1..4a59682782c 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 f82c1e70c89..7f987a5fab0 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 af0b64fbefb..6876fefa31f 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 c569b0d6c24..9f7ef64386c 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 4ba6f647d09..addc0fdccc8 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 3ff460f73d3..2f888d66a57 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 f9e34a56a13..2a50527682b 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 ada7167edd3..4dc114f3b8f 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 c847e78c545..2abdfc095bf 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 fe3d741d345..6102b443be3 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 3a4f6283e89..799eb93cc10 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 98df15543f8..9a47f76f156 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 c194ac0f339..e32e121681a 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 2ec338b1218..43ecb8e0392 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 b0bc797fb61..6ee083e1057 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 18ce86e9c31..b30cc07cb80 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 8ba14c2a353..7c66b78f424 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 0a1e48eabfb..02c1df54521 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 c6c14f0a761..91b00d95848 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 b6ace12120f..29f8b052d89 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 00fb17e155d..c51ae364116 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 0a96872551b..6860cc6dc74 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 828eda89fe1..8ea08fe759a 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 839934588da..497caa61c56 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 1af8846a83b..587fb8a9971 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 8c276e1ff25..2c2139b31eb 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 0df80767c1d..587133e37e1 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 92f58997325..825574006c1 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 6260e9afba4..7de8d38dfba 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