Skip to content

Commit c355d29

Browse files
jicamathesamesam
authored andcommitted
build: update bootstrap req to C++14
We moved to a bootstrap requirement of C++11 in GCC 11, 8 years after support was stable in GCC 4.8. It is now 8 years since C++14 was the default mode in GCC 6 (and 9 years since support was complete in GCC 5), and we have a few bits of optional C++14 code in the compiler, so it seems a good time to update the bootstrap requirement again. The big benefit of the change is the greater constexpr power, but C++14 also added variable templates, generic lambdas, lambda init-capture, binary literals, and numeric literal digit separators. C++14 was feature-complete in GCC 5, and became the default in GCC 6. 5.4.0 bootstraps trunk correctly; trunk stage1 built with 5.3.0 breaks in eh_data_format_name due to PR69995. gcc/ChangeLog: * doc/install.texi (Prerequisites): Update to C++14. ChangeLog: * configure.ac: Update requirement to C++14. * configure: Regenerate.
1 parent ed1b4d7 commit c355d29

File tree

4 files changed

+796
-77
lines changed

4 files changed

+796
-77
lines changed

.github/log_expected_warnings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,5 @@ gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fal
150150
gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
151151
gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
152152
gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
153-
install.texi:2231: warning: `.' or `,' must follow @xref, not f
153+
install.texi:2230: warning: `.' or `,' must follow @xref, not f
154154
libtool: install: warning: remember to run `libtool --finish /usr/local/libexec/gcc/x86_64-pc-linux-gnu/14.0.1'

0 commit comments

Comments
 (0)