Some GCC plugins useful for OI training/judging.
Currently, only one plugin no_opt_attr_plugin
is included.
Simply make all
.
Or, if you are building the plugins for a gcc copy other than the system
compiler, use make all TARGET_GCC=/path/to/gcc
.
no_opt_attr_plugin.so
: a plugin to disable__attribute__((optimize(...)))
and#pragma GCC optimize ...
gcc -fplugin=/path/to/some_plugin.so test.c
- GCC for providing plugin interface.
- Linux Kernel for providing headers in this repo.