Get the latest tech news

GCC 16 considering changing default to C++20


From: Marek Polacek <polacek@redhat.com> To: GCC <gcc@gcc.gnu.org>, Jonathan Wakely <jwakely@redhat.com>, Jason Merrill <jason@redhat.com> Subject: Change the default C++ dialect to gnu++20 Date: Mon, 3 Nov 2025 13:34:28 -0500 [thread overview] Message-ID: <aQj1tKzhftT9GUF4@redhat.com> (raw) I would like us to declare that C++20 is no longer experimental and change the default dialect to gnu++20. Last time we changed the default was over 5 years ago in GCC 11: <https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=0801f419440c14f6772b28f763ad7d40f7f7a580> and before that in 2015 in GCC 6.1, so this happens roughly every 5 years.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of default

default

Photo of GCC 16

GCC 16

Related news:

News photo

GCC Compiler Developers Begin Considering C++20 Default

News photo

New Patch Moves AMD GCN 1.0 GPUs Over To AMDGPU Driver By Default

News photo

Patches Proposed For Radeon GCN 1.1 GPUs To Use AMDGPU Linux Driver By Default