[clang] [llvm] [analyzer] Remove the alpha.core.FixedAddr checker (PR #182033)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 20 02:57:44 PST 2026


================
@@ -138,7 +138,7 @@ void f8(struct f8_s *s, int coin) {
 
 void f9() {
   int (*p_function) (char, char) = (int (*)(char, char))0x04040; // FIXME: warn at this initialization
-  p_function = (int (*)(char, char))0x04080; // expected-warning {{Using a fixed address is not portable}}
+  p_function = (int (*)(char, char))0x04080;
   // FIXME: there should be a warning from calling the function pointer with fixed address
   int x = (*p_function) ('x', 'y');
----------------
steakhal wrote:

There is already the FIXME highlighting exactly this.

https://github.com/llvm/llvm-project/pull/182033


More information about the cfe-commits mailing list