Announcement

Collapse
No announcement yet.

GCC 14 Now Honors The -std=c23 & -std=gnu23 Compiler Options For C23

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GCC 14 Now Honors The -std=c23 & -std=gnu23 Compiler Options For C23

    Phoronix: GCC 14 Now Honors The -std=c23 & -std=gnu23 Compiler Options For C23

    While the next revision of the C standard won't see its formal publishing until the 2024 calendar year, the ISO C++ standards committee already decided on keeping "C23" as the informal name for this next major C update. As such, with today's GCC 14 Git the -std=c23 compiler option for targeting C23 is now honored along with -std=gnu23 for the GNU dialect of C23...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Shouldn't be `the ISO C standards committee` in the first paragraph instead of `C++`

    Comment


    • #3
      Originally posted by Setif View Post
      Shouldn't be `the ISO C standards committee` in the first paragraph instead of `C++`
      Yep, thanks, just too used to typing C++
      Michael Larabel
      https://www.michaellarabel.com/

      Comment


      • #4
        Michael When do we get the next huge gcc vs LLVM (vs MSVC as well if possible) ?
        For Ryzen AND
        With:
        • O2
        • O2 + march=native
        • O2 + LTO
        • O2 + LTO=thin (LLVM only)
        • O2 + march=native + LTO
        • O2 + march=native +LTO=thin (LLVM only)
        • O3
        • O3 + march=native
        • O3 + LTO
        • O3 + LTO=thin (LLVM only)
        • O3 + march=native + LTO
        • O3 + march=native + LTO=thin (LLVM only)
        • ​Ofast
        • Ofast + march=native
        • Ofast + LTO
        • Ofast + LTO=thin (LLVM only)
        • Ofast + march=native + LTO
        • Ofast + march=native + LTO=thin (LLVM only)

        Comment


        • #5
          I would be much more interested to see how -Os and -Oz perform on an old Raspi or old (with small cache) CPU.

          Comment


          • #6
            Have the standards made the precedence, associativity, and semantics of all arithmetic operators that exist in C and C++ behave the same in both programming languages?
            Have the standards explicitly specified saturation math as default when over- and underflowing for arithmetic?

            Comment

            Working...
            X