__attribute__((early_branch))

2019-04-30 Thread cmdLP #CODE
Hello GCC-team, I use GCC for all my C and C++ programs. I know how to use GCC, but I am not a contributor to GCC (yet). I often discover some problems C and C++ code have in general. There is often the choice between fast or readable code. Some code I have seen performs well but looks ugly (goto,

GCC Common-Function-Attributes/const

2018-11-26 Thread cmdLP #CODE
Dear GCC-developer team, The specification of the const-attribute is a bit ambiguous, it does not fully specify which global variables are allowed to be read from. Obviously constant global compile-time initialized variables can be accessed without problem. But what about run time initialized vari