GCC 10.1 Released

  • I love the built-in static analyzer -fanalyzer option in gcc-10.

    [1] https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.h...

  • > Extended characters in identifiers may now be specified directly in the input encoding (UTF-8, by default), in addition to the UCN syntax (\uNNNN or \UNNNNNNNN) that is already supported:

        static const int π = 3;
        int get_naïve_pi() {
          return π;
        }
    
    Lovely!

  • > Several C++20 features have been implemented: > P0912R5, Coroutines (requires -fcoroutines)

    Nice to see a bunch of C++20 features making it in. Coroutines seems like a big one!

  • Lovely! Time to see my code go even faster, for free :)

  • memory.c: In function ‘mk_entry’: memory.c:116:12: internal compiler error: in saved_diagnostic, at analyzer/diagnostic-manager.cc:84 116 | return (struct entry) {safe_calloc(end - start, 1), start, end}; | ^ Please submit a full bug report,

    Goes to look at README.Bugs. Holy cow, I don't have time to to check all those places to see if it has been reported already.

  • (side note for RMS, I still have a "RUNGCC" sticker on my car (it's been 5 years !!!))

  • wish gcc 10 was built into ubuntu 20.04

  • It doesn't seem to be available on the main site or any of the mirrors I tried.

  • ctrl + f: modules

    0 results

    i guess clang and msvc won the fight