public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Deprecation of C89?
@ 2023-06-01 22:50 Alejandro Colomar
  2023-06-02  0:26 ` Ian Lance Taylor
  2023-06-02 12:09 ` David Brown
  0 siblings, 2 replies; 9+ messages in thread
From: Alejandro Colomar @ 2023-06-01 22:50 UTC (permalink / raw)
  To: gcc-help


[-- Attachment #1.1: Type: text/plain, Size: 888 bytes --]

Hi!

I was just wondering if there are any plans to drop support of C89 (and
gnu89) at any point in the future.  I didn't find any such discussion in
the mailing list.

That change would probably break very ancient code (implicit int, implicit
function declarations, ...), but such code is very likely to have been
updated in the last several decades to be at least compatible with C99, so
I don't expect that much breakage.

Most big projects have already migrated, with only a few still resisting
(curl comes to mind).  But again, I think they use a subset that would
compile under C99 with little or no modification.

I guess supporting C89 keeps a lot of extra complexity in GCC's source code
itself, and maybe even hinders some optimizations.

Cheers,
Alex

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2023-06-02 19:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-01 22:50 Deprecation of C89? Alejandro Colomar
2023-06-02  0:26 ` Ian Lance Taylor
2023-06-02  3:05   ` Alejandro Colomar
2023-06-02  6:37     ` Arsen Arsenović
2023-06-02 12:50       ` Segher Boessenkool
2023-06-02 18:52         ` Arsen Arsenović
2023-06-02 19:22           ` Xi Ruoyao
2023-06-02 19:45             ` Arsen Arsenović
2023-06-02 12:09 ` David Brown

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).