> I'm starting to suspect that. Note that the bug as filed is with icc, not > clang. Indeed. That's why I wanted to see the fix, I assume some ifdef logic was used, so I could try to apply that fix to my case. But tbh I figured out that my code's include of tgmath.h was extraneous, so I just removed it and everything seems to be fine on my end.
> Do you have a shareable test case? I don't have a quick test I can share right now. I can share the scenario: 1) Install CodeChecker dependencies: sudo apt-get install automake bison flex g++ git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config 2) Install CodeChecker: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade (reboot if does anything) sudo npm install -g npm sudo apt-get install automake bison flex g++ git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config sudo apt-get install clang clang-tidy clang-tools build-essential curl gcc-multilib git python3-dev python3-venv curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs git clone https://github.com/Ericsson/CodeChecker.git --depth 1 ~/codechecker cd ~/codechecker make package cd .. 3) Add $HOME/codechecker/build/CodeChecker/bin to your PATH like example below export PATH=$HOME/bin:$PHOME/bin:/usr/local/go/bin:$GOROOT/bin:$HOME/codechecker/build/CodeChecker/bin:$PATH 4) Have a piece of C code that includes tgmath.h, and run Codechecker on it like below: CodeChecker log --build "make" --output ~/my_test_compile_commands.json CodeChecker analyze ~/my_test_compile_commands.json --enable-all --enable sensitive --output ~/cc-my_test At this point you'll see the clang-diagnostic-error message about an unsupported combination of types. As I said I have a workaround already, which is to not use tgmath.h (lol). But maybe this will help someone else. Thanks for your attention! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1895358 Title: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1895358/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs