Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 9fdc1f7d by Cheng Shao at 2025-09-19T18:28:21-04:00 rts: remove -O3 pragma hack in Hash.c This patch removes an obsolete gcc pragma to specify -O3 in Hash.c. Hadrian already passes the right flag. - - - - - 1 changed file: - rts/Hash.c Changes: ===================================== rts/Hash.c ===================================== @@ -14,18 +14,6 @@ #include "Hash.h" #include "RtsUtils.h" -/* This file needs to be compiled with vectorization enabled. Unfortunately - since we compile these things these days with cabal we can no longer - specify optimization per file. So we have to resort to pragmas. */ -#if defined(__GNUC__) || defined(__GNUG__) -#if !defined(__clang__) -#if !defined(DEBUG) -#pragma GCC push_options -#pragma GCC optimize ("O3") -#endif -#endif -#endif - #define XXH_INLINE_ALL #include "xxhash.h" @@ -570,12 +558,3 @@ int keyCountHashTable (HashTable *table) { return table->kcount; } - - -#if defined(__GNUC__) || defined(__GNUG__) -#if !defined(__clang__) -#if !defined(DEBUG) -#pragma GCC pop_options -#endif -#endif -#endif View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9fdc1f7d855cc61f90de909875f6ae0d... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9fdc1f7d855cc61f90de909875f6ae0d... You're receiving this email because of your account on gitlab.haskell.org.