GCC 10.1 Released
gcc.gnu.org
GCC 10.1 Released
1–10 of 145 posts
Re: GCC 10.1 Released
#2[1] https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.h...
Re: GCC 10.1 Released
#3I love the built-in static analyzer -fanalyzer option in gcc-10. [1] https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.h...
Re: GCC 10.1 Released
#4Re: GCC 10.1 Released
#5I love the built-in static analyzer -fanalyzer option in gcc-10. [1] https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.h...
What do you love the most about the new analyzer pass? I haven't had a chance to try it out for myself yet but I'm looking forward to it.
Basically this replicates what clang-tidy did
Re: GCC 10.1 Released
#6wish gcc 10 was built into ubuntu 20.04
Re: GCC 10.1 Released
#7I love the built-in static analyzer -fanalyzer option in gcc-10. [1] https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.h...
Re: GCC 10.1 Released
#8Nice to see a bunch of C++20 features making it in. Coroutines seems like a big one!
Re: GCC 10.1 Released
#9Earlier quoted context omitted.
What do you love the most about the new analyzer pass? I haven't had a chance to try it out for myself yet but I'm looking forward to it.
An example to detect use-after-free: https://godbolt.org/z/zhiNLW Basically this replicates what clang-tidy did
Re: GCC 10.1 Released
#10I love the built-in static analyzer -fanalyzer option in gcc-10. [1] https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.h...
Imagine if -fanalyze was like rusts borrow checker
You could do something like that at runtime though, but then you have Valgrind, basically.