public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] bootstrap/106482 - document minimal GCC version
@ 2022-12-22 14:54 Richard Biener
  2022-12-22 14:58 ` Jakub Jelinek
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Biener @ 2022-12-22 14:54 UTC (permalink / raw)
  To: gcc-patches; +Cc: Jakub Jelinek

There's no explicit mention of what GCC compiler supports C++11
and the cross compiler build requirement mentions GCC 4.8 but not
GCC 4.8.3 which is the earliest known version to not run into
C++11 implementation bugs.  The following adds explicit wording.

OK for trunk?

Thanks,
Richard.

	PR bootstrap/106482
	* doc/install.texi (ISO C++11 Compiler): Document GCC version
	known to work.
---
 gcc/doc/install.texi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 5c0214b4e62..fc3a3cba552 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -227,7 +227,9 @@ described below.
 @heading Tools/packages necessary for building GCC
 @table @asis
 @item ISO C++11 compiler
-Necessary to bootstrap GCC.
+Necessary to bootstrap GCC.  GCC 4.8.3 or newer has sufficient
+support for used C++11 features, with earlier GCC versions you
+might run into implementation bugs.
 
 Versions of GCC prior to 11 also allow bootstrapping with an ISO C++98
 compiler, versions of GCC prior to 4.8 also allow bootstrapping with a
@@ -236,7 +238,7 @@ bootstrapping with a traditional (K&R) C compiler.
 
 To build all languages in a cross-compiler or other configuration where
 3-stage bootstrap is not performed, you need to start with an existing
-GCC binary (version 4.8 or later) because source code for language
+GCC binary (version 4.8.3 or later) because source code for language
 frontends other than C might use GCC extensions.
 
 @item C standard library and headers
-- 
2.35.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] bootstrap/106482 - document minimal GCC version
  2022-12-22 14:54 [PATCH] bootstrap/106482 - document minimal GCC version Richard Biener
@ 2022-12-22 14:58 ` Jakub Jelinek
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2022-12-22 14:58 UTC (permalink / raw)
  To: Richard Biener; +Cc: gcc-patches

On Thu, Dec 22, 2022 at 03:54:03PM +0100, Richard Biener wrote:
> There's no explicit mention of what GCC compiler supports C++11
> and the cross compiler build requirement mentions GCC 4.8 but not
> GCC 4.8.3 which is the earliest known version to not run into
> C++11 implementation bugs.  The following adds explicit wording.
> 
> OK for trunk?
> 
> Thanks,
> Richard.
> 
> 	PR bootstrap/106482
> 	* doc/install.texi (ISO C++11 Compiler): Document GCC version
> 	known to work.

LGTM, thanks.

	Jakub


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-22 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22 14:54 [PATCH] bootstrap/106482 - document minimal GCC version Richard Biener
2022-12-22 14:58 ` Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).