X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=gmqcc.ini.example;h=acff3b3daaecadc5868f60b1363d71b4c5f8040d;hb=refs%2Ftags%2F0.3.5;hp=7fc19fd07bff8fcf859087875a0639bfef2b69a4;hpb=fac4e411bfeca94b3fac11d8e8a95788bed7ba74;p=xonotic%2Fgmqcc.git diff --git a/gmqcc.ini.example b/gmqcc.ini.example index 7fc19fd..acff3b3 100644 --- a/gmqcc.ini.example +++ b/gmqcc.ini.example @@ -531,6 +531,13 @@ CONST_OVERWRITE = true + + #Warn about the use of preprocessor directives inside macros. + + DIRECTIVE_INMACRO = true + + + [optimizations] #Some general peephole optimizations. For instance the code `a = b #+ c` typically generates 2 instructions, an ADD and a STORE. This @@ -561,7 +568,6 @@ OVERLAP_LOCALS = true - #This promotes locally declared variables to "temps". Meaning when #a temporary result of an operation has to be stored somewhere, a #local variable which is not 'alive' at that point can be used to @@ -644,6 +650,7 @@ CONST_FOLD_DCE = true + #For constant expressions we can fold them to immediate values. #this option cannot be disabled or enabled, the compiler forces #it to stay enabled by ignoring the value entierly. There are