[libcxx-commits] [clang] [libcxx] [clang] Enable GNU __attribute__((init_priority(...))) on z/OS. (PR #199573)

Sean Perry via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 27 07:57:57 PDT 2026


================
@@ -28,42 +26,27 @@ extern Two koo[];
 // unknown-system-no-diagnostics
 
 Two foo __attribute__((init_priority(101))) ( 5, 6 );
-// unknown-warning at -1 {{unknown attribute 'init_priority' ignored}}
-
-Two loo __attribute__((init_priority(65535))) ( 5, 6 );
----------------
perry-ca wrote:

Keep this declaration.

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


More information about the libcxx-commits mailing list