money.cpp:22:39: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
22 | #pragma GCC optimize("-fwhole-program")
| ^
money.cpp:29:41: warning: bad option '-fstrict-overflow' to pragma 'optimize' [-Wpragmas]
29 | #pragma GCC optimize("-fstrict-overflow")
| ^
money.cpp:31:41: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
31 | #pragma GCC optimize("-fcse-skip-blocks")
| ^
money.cpp:45:51: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
45 | #pragma GCC optimize("-funsafe-loop-optimizations")
| ^
money.cpp:53:13: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
53 | BIT (int n) : n(n){
| ^
money.cpp:53:13: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
money.cpp:53:13: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
money.cpp:53:13: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
money.cpp:56:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
56 | void upd(int idx, int val){
| ^
money.cpp:56:28: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
money.cpp:56:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
money.cpp:56:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
money.cpp:62:18: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
62 | int ask(int idx){
| ^
money.cpp:62:18: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
money.cpp:62:18: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
money.cpp:62:18: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
money.cpp:70:23: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
70 | int get(int l, int r){
| ^
money.cpp:70:23: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
money.cpp:70:23: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
money.cpp:70:23: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
money.cpp:75:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
75 | int main(){
| ^
money.cpp:75:10: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
money.cpp:75:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
money.cpp:75:10: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
In file included from /usr/include/c++/13/string:43,
from /usr/include/c++/13/bitset:52,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:52,
from money.cpp:48:
/usr/include/c++/13/bits/allocator.h: In destructor 'constexpr std::_Vector_base<int, std::allocator<int> >::_Vector_impl::~_Vector_impl()':
/usr/include/c++/13/bits/allocator.h:184:7: error: inlining failed in call to 'always_inline' 'constexpr std::allocator< <template-parameter-1-1> >::~allocator() noexcept [with _Tp = int]': target specific option mismatch
184 | ~allocator() _GLIBCXX_NOTHROW { }
| ^
In file included from /usr/include/c++/13/vector:66,
from /usr/include/c++/13/functional:64,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:53:
/usr/include/c++/13/bits/stl_vector.h:133:14: note: called from here
133 | struct _Vector_impl
| ^~~~~~~~~~~~