This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Deprecating basic asm in a function - What now?
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: David Wohlferd <dw at limegreensocks dot com>
- Cc: Jeff Law <law at redhat dot com>, Andrew Haley <aph at redhat dot com>, Michael Matz <matz at suse dot de>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 4 Jul 2016 14:43:20 +0100
- Subject: Re: Deprecating basic asm in a function - What now?
- Authentication-results: sourceware.org; auth=none
- References: <dc3ca16c-3521-757f-fcf0-50061f510f75@LimeGreenSocks.com> <alpine.LSU.2.20.1606201931460.13156@wotan.suse.de> <57682A85.4060803@redhat.com> <alpine.LSU.2.20.1606201941340.13156@wotan.suse.de> <57690227.2050501@redhat.com> <alpine.LSU.2.20.1606211401150.13156@wotan.suse.de> <57696C45.5000309@redhat.com> <c23d921a-5546-ea81-0367-cfc1a18de876@redhat.com> <1de3322f-a2aa-ce65-2404-2f6fd7974695@LimeGreenSocks.com>
On 22 June 2016 at 10:28, David Wohlferd wrote:
> And I *get* that it takes time to re-write this, and people have schedules,
> lives, a need for sleep. But even under the most insanely aggressive
> schedule I can imagine (if gcc continue to release ~1/year), it will be at
> least a year before there's a release that has the (disable-able) warning,
> and another year before we could even think about actually removing this.
> So someone who plans to use v8.0 in their production code on the day it is
> released still has a minimum of *two years* to get ready.
It doesn't matter how much warning people have to fix such things,
most of them won't do it. Then at the last minute some poor person has
to spend days or weeks going through other people's code fixing all
the problems. If the benefit isn't clear then it's just a pain and
causes wailing and gnashing of teeth.
(When we switched Fedora to using GCC 6, with C++14 enabled by
default, dozens and dozens of C++ packages failed to compile, because
even in 2016 nobody had ever tried to compile them with C++11 features
enabled.)