New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: GCC static analysis branch is outdated/obsolete #4256
Comments
True that the branch is not live anymore, but I'm not sure there's anything to do on See https://godbolt.org/z/eETcbffc6 Maybe we should simply hide the old compiler (old links will still work, but we won't show the compiler in the drop down menu). What do you think? Or is there an |
Thanks for the quick response! Very strange. I've got a test case which doesn't trip the analyzer on Compiler Explorer no matter what I try, but apparently it does work for the upstream developers: You are right though, if I put one of upstream's test cases into CE's gcc (trunk), it does correctly trip the analyzer: I am not sure why my minimal reproducer doesn't work 🤔 Anyway, I think your suggestion is best:
That way CE users won't accidentally use an old outdated version of GCC when trying to use |
As it's turned out, all of my development work on the gcc analyzer has been in trunk aka master. I haven't touched that old branch in years, so at this point its presence in the menu is confusing to Compiler Explorer users. Sorry about that. My preference would be for that old compiler option to be either deleted altogether, or for it to be hidden. |
Thanks, I'll proceed with the hiding (we never delete any compiler as we want all existing links to continue working as long as compiler explorer exists :) |
The GCC compiler for "static analysis" was used before the work was merged in GCC's trunk. There's no need to track the `devel/analyzer` branch anymore. The C++ compiler is already hidden (d5b0e20). This changes does the same for the C compiler. fixes #4256 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
The GCC compiler for "static analysis" was used before the work was merged in GCC's trunk. There's no need to track the `devel/analyzer` branch anymore. The C++ compiler is already hidden (d5b0e20). This changes does the same for the C compiler. fixes #4256 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
The GCC compiler for "static analysis" was used before the work was merged in GCC's trunk. There's no need to track the `devel/analyzer` branch anymore. The C++ compiler is already hidden (d5b0e20). This changes does the same for the C compiler. fixes #4256 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Describe the bug
GCC static analysis branch is very outdated,
gcc -v
reports:Upstream GCC stopped using their devel/analyzer branch as defined in gcc-builder/build/build.sh. The last commit was Jan 2020, matching the above datestamp. Current GCC static analyzer commits are made directly into trunk.
I can think of two possible solutions:
analyzer
plugin to gcc trunk in build.sh, reflecting the upstream status that the static analysis is not so experimental anymoreSteps to reproduce
Compile C or C++ with x86-64 gcc (static analysis) branch.
Expected behavior
Compiler is latest nightly code, like the x86-64 gcc (trunk) build.
Instead, very old build from Jan 2020 is used.
Reproduction link
https://godbolt.org/z/q3ovchq1a
Screenshots
Not applicable
Operating System
No response
Browser version
No response
The text was updated successfully, but these errors were encountered: