GNU Compiler Collection explained

GNU Compiler Collection
Author:Richard Stallman
Developer:GNU Project
Released:[1]
Programming Language:C, C++[2]
Operating System:Cross-platform
Platform:GNU and many others
Size:~15 million LOC[3]
Language:English
Genre:Compiler
License:GPLv3+ with GCC Runtime Library Exception[4]

The GNU Compiler Collection (GCC) is a collection of compilers from the GNU Project that support various programming languages, hardware architectures and operating systems. The Free Software Foundation (FSF) distributes GCC as free software under the GNU General Public License (GNU GPL). GCC is a key component of the GNU toolchain which is used for most projects related to GNU and the Linux kernel. With roughly 15 million lines of code in 2019, GCC is one of the largest free programs in existence.[3] It has played an important role in the growth of free software, as both a tool and an example.

When it was first released in 1987 by Richard Stallman, GCC 1.0 was named the GNU C Compiler since it only handled the C programming language. It was extended to compile C++ in December of that year. Front ends were later developed for Objective-C, Objective-C++, Fortran, Ada, D, Go and Rust, among others.[5] The OpenMP and OpenACC specifications are also supported in the C and C++ compilers.[6] [7]

GCC has been ported to more platforms and instruction set architectures than any other compiler, and is widely deployed as a tool in the development of both free and proprietary software. GCC is also available for many embedded systems, including ARM-based and Power ISA-based chips.

As well as being the official compiler of the GNU operating system, GCC has been adopted as the standard compiler by many other modern Unix-like computer operating systems, including most Linux distributions. Most BSD family operating systems also switched to GCC shortly after its release, although since then, FreeBSD and Apple macOS have moved to the Clang compiler,[8] largely due to licensing reasons.[9] [10] [11] GCC can also compile code for Windows, Android, iOS, Solaris, HP-UX, AIX and DOS.[12]

History

In late 1983, in an effort to bootstrap the GNU operating system, Richard Stallman asked Andrew S. Tanenbaum, the author of the Amsterdam Compiler Kit (also known as the Free University Compiler Kit) for permission to use that software for GNU. When Tanenbaum advised him that the compiler was not free, and that only the university was free, Stallman decided to work on a different compiler.[13] His initial plan was to rewrite an existing compiler from Lawrence Livermore National Laboratory from Pastel to C with some help from Len Tower and others.[14] [15] Stallman wrote a new C front end for the Livermore compiler, but then realized that it required megabytes of stack space, an impossibility on a 68000 Unix system with only 64 KB, and concluded he would have to write a new compiler from scratch. None of the Pastel compiler code ended up in GCC, though Stallman did use the C front end he had written.[16]

GCC was first released March 22, 1987, available by FTP from MIT.[17] Stallman was listed as the author but cited others for their contributions, including Tower for "parts of the parser, RTL generator, RTL definitions, and of the Vax machine description", Jack Davidson and Christopher W. Fraser for the idea of using RTL as an intermediate language, and Paul Rubin for writing most of the preprocessor. Described as the "first free software hit" by Peter H. Salus, the GNU compiler arrived just at the time when Sun Microsystems was unbundling its development tools from its operating system, selling them separately at a higher combined price than the previous bundle, which led many of Sun's users to buy or download GCC instead of the vendor's tools.[18] While Stallman considered GNU Emacs as his main project, by 1990 GCC supported thirteen computer architectures, was outperforming several vendor compilers, and was used commercially by several companies.[19]

EGCS fork

As GCC was licensed under the GPL, programmers wanting to work in other directions—particularly those writing interfaces for languages other than C—were free to develop their own fork of the compiler, provided they meet the GPL's terms, including its requirements to distribute source code. Multiple forks proved inefficient and unwieldy, however, and the difficulty in getting work accepted by the official GCC project was greatly frustrating for many, as the project favored stability over new features. The FSF kept such close control on what was added to the official version of GCC 2.x (developed since 1992) that GCC was used as one example of the "cathedral" development model in Eric S. Raymond's essay The Cathedral and the Bazaar.

In 1997, a group of developers formed the Experimental/Enhanced GNU Compiler System (EGCS) to merge several experimental forks into a single project. The basis of the merger was a development snapshot of GCC (taken around the 2.7.2 and later followed up to 2.8.1 release). Mergers included g77 (Fortran), PGCC (P5 Pentium-optimized GCC), many C++ improvements, and many new architectures and operating system variants.[20]

While both projects followed each other's changes closely, EGCS development proved considerably more vigorous, so much so that the FSF officially halted development on their GCC 2.x compiler, blessed EGCS as the official version of GCC, and appointed the EGCS project as the GCC maintainers in April 1999. With the release of GCC 2.95 in July 1999 the two projects were once again united.[21] GCC has since been maintained by a varied group of programmers from around the world under the direction of a steering committee.[22]

GCC 3 (2002) removed a front-end for CHILL due to a lack of maintenance.[23]

Before version 4.0 the Fortran front end was g77, which only supported FORTRAN 77, but later was dropped in favor of the new GNU Fortran front end that supports Fortran 95 and large parts of Fortran 2003 and Fortran 2008 as well.[24] [25]

As of version 4.8, GCC is implemented in C++.[26]

Support for Cilk Plus existed from GCC 5 to GCC 7.[27] [28]

GCC has been ported to a wide variety of instruction set architectures, and is widely deployed as a tool in the development of both free and proprietary software. GCC is also available for many embedded systems, including Symbian (called gcce),[29] ARM-based, and Power ISA-based chips.[30] The compiler can target a wide variety of platforms, including video game consoles such as the PlayStation 2,[31] Cell SPE of PlayStation 3,[32] and Dreamcast.[33] It has been ported to more kinds of processors and operating systems than any other compiler.[34]

Supported languages

GCC includes front ends for C (gcc), C++ (g++), Objective-C and Objective-C++, Fortran ([[gfortran]]), Ada (GNAT), Go (gccgo), D (gdc, since 9.1),[35] [36] and Modula-2 (gm2, since 13.1)[37] [38] programming languages,[39] with the OpenMP and OpenACC parallel language extensions being supported since GCC 5.1.[40] Versions prior to GCC 7 also supported Java ([[GNU Compiler for Java|gcj]]), allowing compilation of Java to native machine code.[41]

Regarding language version support for C++ and C, since GCC 11.1 the default target is gnu++17, a superset of C++17, and gnu11, a superset of C11, with strict standard support also available. GCC also provides experimental support for C++20 and C++23.[42]

Third-party front ends exist for many languages, such as Pascal ([[GNU Pascal|gpc]]), Modula-3, and VHDL (GHDL). A few experimental branches exist to support additional languages, such as the GCC UPC compiler for Unified Parallel C[43] or Rust.[44] [45] [46]

Design

GCC's external interface follows Unix conventions. Users invoke a language-specific driver program (gcc for C, g++ for C++, etc.), which interprets command arguments, calls the actual compiler, runs the assembler on the output, and then optionally runs the linker to produce a complete executable binary.

Each of the language compilers is a separate program that reads source code and outputs machine code. All have a common internal structure. A per-language front end parses the source code in that language and produces an abstract syntax tree ("tree" for short).

These are, if necessary, converted to the middle end's input representation, called GENERIC form; the middle end then gradually transforms the program towards its final form. Compiler optimizations and static code analysis techniques (such as FORTIFY_SOURCE,[47] a compiler directive that attempts to discover some buffer overflows) are applied to the code. These work on multiple representations, mostly the architecture-independent GIMPLE representation and the architecture-dependent RTL representation. Finally, machine code is produced using architecture-specific pattern matching originally based on an algorithm of Jack Davidson and Chris Fraser.

GCC was written primarily in C except for parts of the Ada front end. The distribution includes the standard libraries for Ada and C++ whose code is mostly written in those languages.[48] On some platforms, the distribution also includes a low-level runtime library, libgcc, written in a combination of machine-independent C and processor-specific machine code, designed primarily to handle arithmetic operations that the target processor cannot perform directly.[49]

GCC uses many additional tools in its build, many of which are installed by default by many Unix and Linux distributions (but which, normally, aren't present in Windows installations), including Perl, Flex, Bison, and other common tools. In addition, it currently requires three additional libraries to be present in order to build: GMP, MPC, and MPFR.[50]

In May 2010, the GCC steering committee decided to allow use of a C++ compiler to compile GCC.[51] The compiler was intended to be written mostly in C plus a subset of features from C++. In particular, this was decided so that GCC's developers could use the destructors and generics features of C++.[52]

In August 2012, the GCC steering committee announced that GCC now uses C++ as its implementation language.[53] This means that to build GCC from sources, a C++ compiler is required that understands ISO/IEC C++03 standard.

On May 18, 2020, GCC moved away from ISO/IEC C++03 standard to ISO/IEC C++11 standard (i.e. needed to compile, bootstrap, the compiler itself; by default it however compiles later versions of C++).[54]

Front ends

Each front end uses a parser to produce the abstract syntax tree of a given source file. Due to the syntax tree abstraction, source files of any of the different supported languages can be processed by the same back end. GCC started out using LALR parsers generated with Bison, but gradually switched to hand-written recursive-descent parsers for C++ in 2004,[55] and for C and Objective-C in 2006.[56] As of 2021 all front ends use hand-written recursive-descent parsers.

Until GCC 4.0 the tree representation of the program was not fully independent of the processor being targeted. The meaning of a tree was somewhat different for different language front ends, and front ends could provide their own tree codes. This was simplified with the introduction of GENERIC and GIMPLE, two new forms of language-independent trees that were introduced with the advent of GCC 4.0. GENERIC is more complex, based on the GCC 3.x Java front end's intermediate representation. GIMPLE is a simplified GENERIC, in which various constructs are lowered to multiple GIMPLE instructions. The C, C++, and Java front ends produce GENERIC directly in the front end. Other front ends instead have different intermediate representations after parsing and convert these to GENERIC.

In either case, the so-called "gimplifier" then converts this more complex form into the simpler SSA-based GIMPLE form that is the common language for a large number of powerful language- and architecture-independent global (function scope) optimizations.

GENERIC and GIMPLE

GENERIC is an intermediate representation language used as a "middle end" while compiling source code into executable binaries. A subset, called GIMPLE, is targeted by all the front ends of GCC.

The middle stage of GCC does all of the code analysis and optimization, working independently of both the compiled language and the target architecture, starting from the GENERIC[57] representation and expanding it to register transfer language (RTL). The GENERIC representation contains only the subset of the imperative programming constructs optimized by the middle end.

In transforming the source code to GIMPLE,[58] complex expressions are split into a three-address code using temporary variables. This representation was inspired by the SIMPLE representation proposed in the McCAT compiler[59] by Laurie J. Hendren[60] for simplifying the analysis and optimization of imperative programs.

Optimization

Optimization can occur during any phase of compilation; however, the bulk of optimizations are performed after the syntax and semantic analysis of the front end and before the code generation of the back end; thus a common, though somewhat self-contradictory, name for this part of the compiler is the "middle end."

The exact set of GCC optimizations varies from release to release as it develops, but includes the standard algorithms, such as loop optimization, jump threading, common subexpression elimination, instruction scheduling, and so forth. The RTL optimizations are of less importance with the addition of global SSA-based optimizations on GIMPLE trees,[61] as RTL optimizations have a much more limited scope, and have less high-level information.

Some of these optimizations performed at this level include dead-code elimination, partial-redundancy elimination, global value numbering, sparse conditional constant propagation, and scalar replacement of aggregates. Array dependence based optimizations such as automatic vectorization and automatic parallelization are also performed. Profile-guided optimization is also possible.[62]

C++ Standard Library (libstdc++)

The GCC project includes an implementation of the C++ Standard Library called libstdc++,[63] licensed under the GPLv3 License with an exception to link non-GPL applications when sources are built with GCC.[64]

Other features

Some features of GCC include:

Link-time optimization
  • Link-time optimization optimizes across object file boundaries to directly improve the linked binary. Link-time optimization relies on an intermediate file containing the serialization of some Gimple representation included in the object file. The file is generated alongside the object file during source compilation. Each source compilation generates a separate object file and link-time helper file. When the object files are linked, the compiler is executed again and uses the helper files to optimize code across the separately compiled object files.
    Plugins
  • Plugins extend the GCC compiler directly.[65] Plugins allow a stock compiler to be tailored to specific needs by external code loaded as plugins. For example, plugins can add, replace, or even remove middle-end passes operating on Gimple representations.[66] Several GCC plugins have already been published, notably:

    The support of plugins was once a contentious issue in 2007.[68]

    C++ transactional memory
  • The C++ language has an active proposal for transactional memory. It can be enabled in GCC 6 and newer when compiling with -fgnu-tm.[6] [69]
    Unicode identifiers
  • Although the C++ language requires support for non-ASCII Unicode characters in identifiers, the feature has only been supported since GCC 10. As with the existing handling of string literals, the source file is assumed to be encoded in UTF-8. The feature is optional in C, but has been made available too since this change.[70] [71]
    C extensions
  • GNU C extends the C programming language with several non-standard-features, including nested functions[72] and typeof expressions.[73]

    Architectures

    The primary supported (and best tested) processor families are 64- and 32-bit ARM, 64- and 32-bit x86_64 and x86 and 64-bit PowerPC and SPARC.[74]

    GCC target processor families as of version 11.1 include:[75]

    Lesser-known target processors supported in the standard release have included:

    Additional processors have been supported by GCC versions maintained separately from the FSF version:

    The GCJ Java compiler can target either a native machine language architecture or the Java virtual machine's Java bytecode.[78] When retargeting GCC to a new platform, bootstrapping is often used. Motorola 68000, Zilog Z80, and other processors are also targeted in the GCC versions developed for various Texas Instruments, Hewlett Packard, Sharp, and Casio programmable graphing calculators.[79]

    License

    GCC is licensed under the GNU General Public License version 3.[80] The GCC runtime exception permits compilation of proprietary programs (in addition to free software) with GCC. This does not impact the license terms of GCC source code.[81]

    See also

    Further reading

    External links

    Official

    Other

    Notes and References

    1. Web site: GCC Releases. GNU Project. July 24, 2020. June 4, 2023. https://web.archive.org/web/20230604113400/https://www.gnu.org/software/gcc/releases.html. live.
    2. Web site: GCC Coding Conventions - GNU Project. 2022-02-07. gcc.gnu.org. May 28, 2023. https://web.archive.org/web/20230528012107/https://gcc.gnu.org/codingconventions.html. live.
    3. Web site: Cutting Edge Toolchain (Latest Features in GCC/GLIBC). https://ghostarchive.org/varchive/youtube/20211107/QXwxBM4sbYM. 2021-11-07 . live. Víctor Rodríguez. 2019-10-01. youtube.com. Linux Foundation. 2021-01-19.
    4. Web site: GCC Runtime Library Exception. July 24, 2020. March 31, 2023. https://web.archive.org/web/20230331220440/https://www.gnu.org/licenses/gcc-exception-3.1. live.
    5. Web site: Programming Languages Supported by GCC. 2014-06-23. GNU Project. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/frontends.html. live.
    6. Web site: GCC 6 Release Series — Changes, New Features, and Fixes - GNU Project. gcc.gnu.org. September 19, 2016. September 22, 2016. https://web.archive.org/web/20160922161533/http://gcc.gnu.org/gcc-6/changes.html. live.
    7. Web site: OpenACC - GCC Wiki. gcc.gnu.org. September 19, 2016. April 1, 2015. https://web.archive.org/web/20150401174332/https://gcc.gnu.org/wiki/OpenACC. live.
    8. Web site: The LLVM Compiler Infrastructure Project. llvm.org. September 24, 2021. January 18, 2023. https://web.archive.org/web/20230118185909/https://llvm.org/Users.html. live.
    9. Web site: Apple's GPLv3 purge. 2021-01-12. meta.ath0.com. February 5, 2012. en-us. January 18, 2023. https://web.archive.org/web/20230118185910/http://meta.ath0.com/2012/02/05/apples-great-gpl-purge/. live.
    10. Web site: Linnemann. Reid. June 20, 2012. Why Clang. 2021-01-12. January 18, 2023. https://web.archive.org/web/20230118185910/https://lists.freebsd.org/pipermail/freebsd-questions/2012-June/242495.html. live.
    11. Web site: 2007-10-11. August 29, 2007: FreeBSD Foundation Newsletter, August 29, 2007. 2021-01-12. https://web.archive.org/web/20071011023649/http://www.freebsdfoundation.org/press/2007Aug-newsletter.shtml#Letter. October 11, 2007.
    12. Web site: Installing GCC: Binaries - GNU Project - Free Software Foundation (FSF). 2021-01-12. gcc.gnu.org. January 5, 2021. https://web.archive.org/web/20210105200706/https://gcc.gnu.org/install/binaries.html. live.
    13. Book: von Hagen, William . 2006 . The Definitive Guide to GCC . 2nd . Definitive Guides . Apress . 978-1-4302-0219-6 . XXVII . So he wrote to VUCK's author asking if GNU could use it. Evidently, VUCK's developer was uncooperative, responding that the university was free but that the compiler was not. . September 25, 2020 . April 5, 2024 . https://web.archive.org/web/20240405040135/https://books.google.com/books?id=wQ6r3UTivJgC . live .
    14. Web site: Stallman . Richard . About the GNU Project . The GNU Project . September 20, 2011 . October 9, 2011 . August 9, 2019 . https://web.archive.org/web/20190809050636/http://www.gnu.org/gnu/thegnuproject.html . live .
    15. Puzo . Jerome E. . Gnu's Zoo . GNU's Bulletin . 1 . 1 . February 1986 . Free Software Foundation . 2007-08-11 . June 23, 2015 . https://web.archive.org/web/20150623180723/http://www.gnu.org/bulletins/bull1.txt . live .
    16. Book: von Hagen, William . 2006 . The Definitive Guide to GCC . 2nd . Definitive Guides . Apress . 978-1-4302-0219-6 . XXVII . September 25, 2020 . April 5, 2024 . https://web.archive.org/web/20240405040135/https://books.google.com/books?id=wQ6r3UTivJgC . live .
    17. GNU C compiler beta test release . Richard M. Stallman (forwarded by Leonard H. Tower Jr.) . March 22, 1987 . comp.lang.c . October 9, 2011 . June 2, 2013 . https://web.archive.org/web/20130602041632/http://groups.google.com/group/comp.lang.misc/msg/32eda22392c20f98 . live .
    18. Book: Salus, Peter H. . Peter H. Salus . The Daemon, the Gnu and the Penguin . Chapter 10. SUN and gcc . http://www.groklaw.net/article.php?story=20050525231654621 . . 2005 . September 14, 2015 . June 20, 2022 . https://web.archive.org/web/20220620020435/http://www.groklaw.net/article.php?story=20050525231654621 . live .
    19. News: Garfinkel. Simson L.. Simson Garfinkel. 6 August 1990. Get ready for GNU software. 102. Computerworld.
    20. Web site: The Short History of GCC development. 2021-01-24. www.softpanorama.org. November 9, 2022. https://web.archive.org/web/20221109211504/https://softpanorama.org/People/Stallman/history_of_gcc_development.shtml. live.
    21. Web site: History - GCC Wiki. 2020-09-28. gcc.gnu.org. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/wiki/History#Reunification. live.
    22. Web site: GCC steering committee - GNU Project. gcc.gnu.org. July 25, 2016. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/steering.html. live.
    23. Web site: PATCH] Remove chill. July 29, 2010. gcc.gnu.org. October 20, 2016. https://web.archive.org/web/20161020222510/https://gcc.gnu.org/ml/gcc-patches/2002-04/msg00887.html. live.
    24. Web site: Chart of Fortran 2003 Features supported by GNU Fortran. 2009-06-25. GNU. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/wiki/Fortran2003Status. live.
    25. Web site: Chart of Fortran 2008 Features supported by GNU Fortran. 2009-06-25. GNU. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/wiki/Fortran2008Status. live.
    26. Web site: GCC 4.8 Release Series — Changes, New Features, and Fixes - GNU Project. gcc.gnu.org. February 17, 2015. December 8, 2015. https://web.archive.org/web/20151208064435/https://gcc.gnu.org/gcc-4.8/changes.html. live.
    27. Web site: GCC 5 Release Series — Changes, New Features, and Fixes. gcc.gnu.org. January 13, 2022. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/gcc-5/changes.html#c-family. live.
    28. Web site: GCC 8 Release Series — Changes, New Features, and Fixes. gcc.gnu.org. January 13, 2022. November 29, 2018. https://web.archive.org/web/20181129002653/http://gcc.gnu.org/gcc-8/changes.html. live.
    29. Web site: Symbian GCC Improvement Project. 2007-11-08. August 1, 2014. https://web.archive.org/web/20140801121616/http://www.inf.u-szeged.hu/symbian-gcc/. live.
    30. Web site: Linux Board Support Packages. dead. https://web.archive.org/web/20110607140609/http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_BSP&fsrch=1. 2011-06-07. 2021-01-24.
    31. Web site: setting up gcc as a cross-compiler . ps2stuff . 2002-06-08 . 2008-12-12 . dead . https://web.archive.org/web/20081211044658/http://ps2stuff.playstation2-linux.com/gcc_build.html . December 11, 2008 .
    32. Web site: CompileFarm - GCC Wiki. gcc.gnu.org. September 19, 2016. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/wiki/CompileFarm. live.
    33. Web site: sh4 g++ guide . https://web.archive.org/web/20021220025554/http://www.ngine.de/gccguide.html . 2002-12-20 . 2008-12-12 .
    34. Web site: Linux Information Project. 2010-04-27. LINFO. The GCC has been ported to (i.e., modified to run on) more than 60 platforms, which is more than for any other compiler.. January 3, 2023. https://web.archive.org/web/20230103063841/http://www.linfo.org/gcc.html. live.
    35. Web site: GCC 9 Release Series — Changes, New Features, and Fixes - GNU Project . May 7, 2019 . February 19, 2022 . https://web.archive.org/web/20220219120525/https://gcc.gnu.org/gcc-9/changes.html#d . live .
    36. Web site: The D Language Front-End Finally Merged Into GCC 9 - Phoronix. 2021-01-19. phoronix.com. May 17, 2022. https://web.archive.org/web/20220517184343/https://www.phoronix.com/scan.php?page=news_item&px=GCC-9-Merges-D-Language. live.
    37. Web site: GCC 13 Release Series — Changes, New Features, and Fixes - GNU Project . June 23, 2023 . May 26, 2023 . https://web.archive.org/web/20230526084642/http://gcc.gnu.org/gcc-13/changes.html#modula2 . live .
    38. Web site: GCC 13 to support Modula-2: Follow-up to Pascal lives on in FOSS form . 2022-12-16 . 2022-12-19 . Proven . Liam . December 19, 2022 . https://web.archive.org/web/20221219080641/https://www.theregister.com/2022/12/16/gcc_13_will_support_modula2/ . live .
    39. Web site: GCC Front Ends. gnu.org. November 25, 2011. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/frontends.html. live.
    40. Web site: GCC 5 Release Series — Changes, New Features, and Fixes - GNU Project. gcc.gnu.org. April 23, 2015. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/gcc-5/changes.html. live.
    41. Web site: GCC 7 Release Series. March 20, 2018. gnu.org. September 2, 2020. https://web.archive.org/web/20200902223230/https://gcc.gnu.org/gcc-7/changes.html. live.
    42. Web site: C++ Standards Support in GCC. May 17, 2021. April 20, 2022. https://web.archive.org/web/20220420114133/https://gcc.gnu.org/projects/cxx-status.html. live.
    43. Web site: GCC UPC (GCC Unified Parallel C). Intrepid Technology, Inc.. 2006-02-20. 2009-03-11. February 11, 2010. https://web.archive.org/web/20100211142352/http://www.gccupc.org/. dead.
    44. Web site: GCC Front-End For Rust. Jan 6, 2023. January 10, 2023. https://web.archive.org/web/20230110130120/https://rust-gcc.github.io/. live.
    45. Web site: GCC Front-End for Rust (Github). GitHub. January 5, 2023. Jan 6, 2023. January 6, 2023. https://web.archive.org/web/20230106134124/https://github.com/Rust-GCC/gccrs. live.
    46. Web site: Spengler. Brad. 12 January 2021. Open Source Security, Inc. Announces Funding of GCC Front-End for Rust. April 25, 2021. https://web.archive.org/web/20210425170408/https://opensrcsec.com/open_source_security_announces_rust_gcc_funding. live.
    47. Web site: Security Features: Compile Time Buffer Checks (FORTIFY_SOURCE) . fedoraproject.org . 2009-03-11 . January 7, 2007 . https://web.archive.org/web/20070107153447/http://fedoraproject.org/wiki/Security/Features . live .
    48. Web site: languages used to make GCC . dead . https://web.archive.org/web/20080527213819/http://www.ohloh.net/projects/gcc/analyses/latest . May 27, 2008 . 14 September 2008.
    49. Web site: GCC Internals. GCC.org. March 1, 2010. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html. live.
    50. Web site: Prerequisites for GCC - GNU Project. 2021-09-05. gcc.gnu.org. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/install/prerequisites.html. live.
    51. News: GCC allows C++ – to some degree . . June 1, 2010 . June 9, 2010 . September 26, 2022 . https://web.archive.org/web/20220926160308/http://www.h-online.com/open/news/item/GCC-allows-C-to-some-degree-1012611.html . live .
    52. Web site: Re: Efforts to attract more users?. lists.gnu.org. September 24, 2021. January 18, 2023. https://web.archive.org/web/20230118185909/https://lists.gnu.org/archive/html/emacs-devel/2010-07/msg00518.html. live.
    53. Web site: GCC 4.8 Release Series: Changes, New Features, and Fixes. October 4, 2013. December 8, 2015. https://web.archive.org/web/20151208064435/https://gcc.gnu.org/gcc-4.8/changes.html. live.
    54. Web site: bootstrap: Update requirement to C++11.. GitHub. May 18, 2020. September 29, 2022. https://web.archive.org/web/20220929120518/https://github.com/gcc-mirror/gcc/commit/5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed. live.
    55. Web site: GCC 3.4 Release Series — Changes, New Features, and Fixes - GNU Project. gcc.gnu.org. July 25, 2016. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/gcc-3.4/changes.html. live.
    56. Web site: GCC 4.1 Release Series — Changes, New Features, and Fixes - GNU Project. gcc.gnu.org. July 25, 2016. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/gcc-4.1/changes.html. live.
    57. Web site: GENERIC (GNU Compiler Collection (GCC) Internals). gcc.gnu.org. July 25, 2016. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/onlinedocs/gccint/GENERIC.html. live.
    58. Web site: GIMPLE (GNU Compiler Collection (GCC) Internals). gcc.gnu.org. July 25, 2016. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/onlinedocs/gccint/GIMPLE.html. live.
    59. Web site: McCAT . 2017-09-14 . bot: unknown . https://web.archive.org/web/20040812030043/http://www-acaps.cs.mcgill.ca/info/McCAT/McCAT.html . August 12, 2004 . mdy-all .
    60. Web site: Laurie Hendren's Home Page. www.sable.mcgill.ca. July 20, 2009. September 27, 2022. https://web.archive.org/web/20220927074148/http://www.sable.mcgill.ca/~hendren/. live.
    61. Web site: From Source to Binary: The Inner Workings of GCC. Novillo. Diego. Red Hat Magazine. December 2004. dead. https://web.archive.org/web/20090401215553/http://www.redhat.com/magazine/002dec04/features/gcc/. April 1, 2009. mdy-all.
    62. Web site: Installing GCC: Building - GNU Project. gcc.gnu.org. July 25, 2016. August 22, 2023. https://web.archive.org/web/20230822141635/http://gcc.gnu.org/install/build.html#TOC4. live.
    63. Web site: The GNU C++ Library. GNU Project. 2021-02-21. December 25, 2022. https://web.archive.org/web/20221225041607/https://gcc.gnu.org/onlinedocs/libstdc++/. live.
    64. Web site: License. GNU Project. 2021-02-21. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html. live.
    65. Web site: Plugins . GCC online documentation . July 8, 2013 . April 30, 2013 . https://web.archive.org/web/20130430223330/http://gcc.gnu.org/onlinedocs/gccint/Plugins.html . live .
    66. Web site: Starynkevitch. Basile. GCC plugins thru the MELT example. https://web.archive.org/web/20140413124801/http://gcc-melt.org/gcc-plugin-MELT-LinuxCollabSummit2014.pdf . 2014-04-13 . live. 2014-04-10.
    67. Web site: About GCC MELT. July 8, 2013. https://archive.today/20130704015544/http://gcc-melt.org/. July 4, 2013. live.
    68. Web site: GCC unplugged [LWN.net] ]. lwn.net . March 28, 2021 . November 9, 2020 . https://web.archive.org/web/20201109001410/https://lwn.net/Articles/259157/ . live .
    69. Web site: TransactionalMemory - GCC Wiki. gcc.gnu.org. September 19, 2016. August 19, 2016. https://web.archive.org/web/20160819055121/http://gcc.gnu.org/wiki/TransactionalMemory. live.
    70. Web site: Lewis Hyatt - [PATCH] wwwdocs: Document support for extended identifiers added to GCC]. gcc.gnu.org. 2020-03-27. March 27, 2020. https://web.archive.org/web/20200327153559/https://gcc.gnu.org/legacy-ml/gcc-patches/2020-01/msg01667.html. live.
    71. Web site: Recommendations for extended identifier characters for C and C++. www.open-std.org. 2020-03-27. September 30, 2020. https://web.archive.org/web/20200930152408/http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3146.html. live.
    72. Web site: C Extensions (Using the GNU Compiler Collection (GCC)). 2022-01-12. gcc.gnu.org. January 12, 2022. https://web.archive.org/web/20220112203037/https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html. live.
    73. Web site: Typeof - Using the GNU Compiler Collection (GCC). 2022-01-12. gcc.gnu.org. January 13, 2022. https://web.archive.org/web/20220113093119/https://gcc.gnu.org/onlinedocs/gcc-5.2.0/gcc/Typeof.html. live.
    74. Web site: 2022-10-26 . GCC 12 Release Criteria . 2023-01-27 . gcc.gnu.org . January 27, 2023 . https://web.archive.org/web/20230127213916/https://gcc.gnu.org/gcc-12/criteria.html . live .
    75. Web site: Option Summary (Using the GNU Compiler Collection (GCC)). 2020-08-21. gcc.gnu.org. January 18, 2023. https://web.archive.org/web/20230118185814/https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/Option-Summary.html#Option-Summary. live.
    76. Web site: Hexagon Project Wiki . dead . May 19, 2011 . https://web.archive.org/web/20120323192748/https://www.codeaurora.org/xwiki/bin/Hexagon/ . March 23, 2012.
    77. Web site: Google Code Archive - Long-term storage for Google Code Project Hosting.. code.google.com. September 24, 2021. September 25, 2022. https://web.archive.org/web/20220925035202/https://code.google.com/archive/p/sx-gcc. live.
    78. Web site: The GNU Compiler for the Java Programming Language. 2010-04-22. dead. https://web.archive.org/web/20070509055923/http://gcc.gnu.org/java/. May 9, 2007. mdy-all.
    79. graphing calculators#programming
    80. Web site: Using the GNU Compiler Collection. gnu.org. 2019-11-05. November 16, 2023. https://web.archive.org/web/20231116021350/https://gcc.gnu.org/onlinedocs/gcc/Copying.html#Copying. live.
    81. Web site: FSF. GCC Runtime Exception. 2014-04-10. April 16, 2014. https://web.archive.org/web/20140416192813/https://www.gnu.org/licenses/gcc-exception. live.